Project

General

Profile

OpenDocument Templates » History » Revision 3

Revision 2 (Ward Vandewege, 04/18/2016 09:34 PM) → Revision 3/4 (Ward Vandewege, 04/18/2016 09:36 PM)

h1. OpenDocument Templates 

 h2. Basic principles 

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

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

 h3. 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': 

 !Section-name.png! 

 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. 

 h3. 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. 

 h3. 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. 

 h2. Template types 

 * [[Confirmation Letter Templates]] 
 * [[Invitation Letter Templates]] 
 * [[Visa Letter Templates]] 
 * [[Invoice Templates]]