plugin:odt:tutorials:odttemplate:create
⇐ ODT Plugin homepage
Create an ODT template file
To create an empty ODT template file proceed like this:
- Export a wiki page of your choice to ODT
- Save the document on disk
- Open the document with LibreOffice or OpenOffice
- Make it empty: delete all text and other content
- Modify the styles for your needs
- Save the changes and close the document
- Upload the document using the media manager. Make sure to upload it in the correct namespace/directory. Check your ODT plugin configuration, option
tpl_dir
for the correct namespace/directory. Default isodt
. - Set the document as the ODT template which shall be used for the export. E.g. in the ODT plugin configuration or by adding the syntax tag
{{odt>template:mytemplate.odt}}
Modifying a style
The following description is based on LibreOffice. Search the internet for other descriptions, e.g. for OpenOffice.
A style in LibreOffice can be changed like this:
- Choose “Styles and Formatting” from the “View” menu or press F11
- Right click on the style you like to change and choose “Modify…” from the context menu:
- A dialog will open showing the available style settings
- Modify the settings as desired
- Click on “OK”
- Save and close the document
- Always remember to re-upload the changed ODT document/template to your wiki with the media manager
plugin/odt/tutorials/odttemplate/create.txt · Last modified: 2017-04-12 20:46 by LarsDW223