Project

General

Profile

Actions

OpenDocument Templates » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Ward Vandewege, 04/18/2016 09:36 PM


OpenDocument Templates

Basic principles

The OpenDocument (ODT) templates are processed by (a forked version of) odf-report. The "odf-report wiki":

The templates use named sections, named tables, and variables.

Named sections

To create a section, use the Insert|Sections menu item.

To see which section a location in the document belongs to, put your cursor at the location, and then look in the status bar. For example, this document has 2 sections. The second section is called 'test':

See section name

To edit the name of the current section, use the Format|Sections menu.

Each template type has its own set of named sections that may be present in a template.

Named tables

To set or update the name of a table, just right click it and choose 'Table Properties'.

Each template type has its own set of named tables that may be present in a template.

Variables

The templates make use of variables, which are written entirely in capitals by convention, and surrounded by square brackets. For example: [SALUTATION]. Variables may be styled in arbitrary ways (e.g. bold text, etc) and the style will be retained when they are substituted with values. Each template type has its own set of supported variables.

Template types

Updated by Ward Vandewege almost 8 years ago · 3 revisions