Project

General

Profile

OpenDocument Templates » History » Revision 2

Revision 1 (Ward Vandewege, 04/18/2016 09:29 PM) → Revision 2/4 (Ward Vandewege, 04/18/2016 09:34 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 templates use named sections, named tables, and named 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. 

 !>{width: 50%}Section-name.png! 


 h2. Template types 

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