| 28 | == Options == |
| 29 | |
| 30 | In `trac.ini`, you can setup a few options : |
| 31 | * '''get_remote_images''' (boolean, defaults to true) : wheather the plugin should download the remote images |
| 32 | * '''replace_keyword''' (string, defaults to "TRAC-ODT-INSERT") : the string in the ODT template file to replace with the wiki page content. |
| 33 | * '''dpi''' (integer, defaults to 96) : the screen DPI. |
| 34 | * '''img_default_width''' (string, defaults to "8cm") : the width of an exported image when the plugin can't compute it. |
| 35 | * '''img_default_height''' (string, defaults to "6cm") : the height of an exported image when the plugin can't compute it. |
| 36 | |
| 37 | Those options must be put under a `[odtexport]` section in the ini file, such as : |
| 38 | {{{ |
| 39 | [odtexport] |
| 40 | get_remote_images = False |
| 41 | replace_keyword = REPLACE_ME |
| 42 | }}} |
| 43 | |