Difference between revisions of "Creating OpenOffice templates"
From OpenKM Documentation
Line 1: | Line 1: | ||
− | { | + | In order to make a relation between the template form field and the property group, you have to name them following a naming convention: replace ":" and "." by "_". Here you can see the matching between both fields: |
+ | |||
+ | {| align="center" border="0" cellpadding="5" cellspacing="0" style="width: 600px" | ||
+ | ! align="left"| PROPERTY GROUP NAME !! align="left"| TEMPLATE FIELD NAME | ||
+ | |- | ||
+ | |okp:tpl.name || okp_tpl_name | ||
+ | |- | ||
+ | |okp:tpl.bird_date || okp_tpl_bird_date | ||
+ | |- | ||
+ | |okp:tpl.language || okp_tpl_language | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | To create a template in OpenOffice.org go to '''View''' > '''Toolbars''' > '''Form Controls'''. The a new dialog will appear and you will be able to add form elements to the document. This dialog contains form stuff such as Labels, Text Boxes, Check Boxes, etc. | ||
+ | |||
+ | |||
+ | <center>[[File:Pdf Templates 001.png|655px]]</center> | ||
[[Category: Installation Guide]] | [[Category: Installation Guide]] | ||
[[Category: OKM Network]] | [[Category: OKM Network]] |
Revision as of 12:12, 17 May 2011
In order to make a relation between the template form field and the property group, you have to name them following a naming convention: replace ":" and "." by "_". Here you can see the matching between both fields:
PROPERTY GROUP NAME | TEMPLATE FIELD NAME |
---|---|
okp:tpl.name | okp_tpl_name |
okp:tpl.bird_date | okp_tpl_bird_date |
okp:tpl.language | okp_tpl_language |
To create a template in OpenOffice.org go to View > Toolbars > Form Controls. The a new dialog will appear and you will be able to add form elements to the document. This dialog contains form stuff such as Labels, Text Boxes, Check Boxes, etc.