Table of Contents
structodt Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" yes
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" unknown
This plugin allows you to generate odt files based on template file, filled with struct data.
Installation
This plugin requires the struct plugin which has to be installed first.
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Usage
The code below:
---- struct odt --- schema: sample_schema cols: * template: ::template.odt ----
Will result with something similar to:
Each document icon in the table links to odt file which can be downloaded. All of them are build from odt template defined by template parameter. Other parameters behaves like in struct table. Template file is odt file upload by Media Manager.
Templates
Templates are normal odt files. Following strings will be replaced:
- @@struct_field_name@@ - struct field
- @@struct_field_mulit[0]@@, @@struct_field_mulit[1]@@, … - first, second, … value of multi field
- @@%pageid%@@ etc. like in special_columns
Entire string in odt file must be in one format.