OpenDocument Templates » History » Version 4
Ward Vandewege, 04/24/2016 02:16 PM
1 | 1 | Ward Vandewege | h1. OpenDocument Templates |
---|---|---|---|
2 | |||
3 | h2. Basic principles |
||
4 | |||
5 | 3 | Ward Vandewege | The OpenDocument (ODT) templates are processed by (a forked version of) "odf-report":https://github.com/cure/odf-report. The "odf-report wiki": |
6 | 1 | Ward Vandewege | |
7 | 4 | Ward Vandewege | The templates use named sections, named tables, and variables. It is recommended to create and update the templates with "LibreOffice":http://libreoffice.org. They need to be in 'ODT' format. |
8 | 1 | Ward Vandewege | |
9 | h3. Named sections |
||
10 | |||
11 | To create a section, use the Insert|Sections menu item. |
||
12 | |||
13 | 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': |
||
14 | |||
15 | 2 | Ward Vandewege | !Section-name.png! |
16 | 1 | Ward Vandewege | |
17 | 2 | Ward Vandewege | To edit the name of the current section, use the Format|Sections menu. |
18 | |||
19 | Each template type has its own set of named sections that may be present in a template. |
||
20 | |||
21 | h3. Named tables |
||
22 | |||
23 | To set or update the name of a table, just right click it and choose 'Table Properties'. |
||
24 | |||
25 | Each template type has its own set of named tables that may be present in a template. |
||
26 | |||
27 | h3. Variables |
||
28 | |||
29 | 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. |
||
30 | 1 | Ward Vandewege | |
31 | h2. Template types |
||
32 | |||
33 | * [[Confirmation Letter Templates]] |
||
34 | * [[Invitation Letter Templates]] |
||
35 | * [[Visa Letter Templates]] |
||
36 | * [[Invoice Templates]] |