Changes between Version 3 and Version 4 of OdtExportPlugin


Ignore:
Timestamp:
Jan 3, 2010, 2:11:08 PM (14 years ago)
Author:
Aurélien Bompard
Comment:

Explain options

Legend:

Unmodified
Added
Removed
Modified
  • OdtExportPlugin

    v3 v4  
    2626After installing, a new alternative format should appear on the bottom of each wiki page, next to the "Plain Text" link.
    2727
     28== Options ==
     29
     30In `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
     37Those options must be put under a `[odtexport]` section in the ini file, such as :
     38{{{
     39[odtexport]
     40get_remote_images = False
     41replace_keyword = REPLACE_ME
     42}}}
     43
    2844== Bugs/Feature Requests ==
    2945
     
    5268== Author/Contributors ==
    5369
    54 '''Author:''' [wiki:abompard] [[BR]]
     70'''Author:''' [wiki:abompard Aurélien Bompard] [[BR]]
    5571'''Contributors:'''