#6928 closed enhancement (fixed)
Choosing a template. Request attached files support
Reported by: | entend | Owned by: | Aurélien Bompard |
---|---|---|---|
Priority: | low | Component: | OdtExportPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
At http://trac-hacks.org/wiki/OdtExportPlugin#Choosingatemplate written:
The default template is named wikipage.odt. You can use a custom template by creating a file with this name and putting it in the templates directory of your Trac instance. This template will be used by default for all the pages.
You can also create other ODT files to be used as templates, and put them in the same directory. Then, you can use a special macro in the wiki page to choose the template. This macro is OdtTemplate and can be used as such: [[OdtTemplate(my_other_template)]]. The .odt suffix will be appended, don't put it in the macro.
Is it possible that template odt files are get from attached files at current page too ?
Attachments (0)
Change History (3)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|---|
Type: | task → enhancement |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I did it in r7810, and it seems to work ! Can you confirm ?
That's a good question, I don't know how to list or extract attachments (yet !) but I could look into that.