Export Wiki Plugin
The ExportWiki plugin generates a download link for PDFs exported from Wiki pages.
[{ExportWiki id='1004,1005' format='pdf'}]
The following parameters are used:
• id='<comma-separated list of wiki page ids>'
• linkText='<some text>'—An optional parameter, specifies the text of the link.
• format='pdf| rtf'—An optional parameter,specifies the output file format; if omitted, pdf is used. The rtf format is experimental because of the known issues in the formatter library.
• path='<path>'—Specifies the path in the Document Manager where the resulting document will be saved.
|
|
The directory in the target path must exist, it will not be automatically created.
|
If this parameter is omitted, the plugin renders a direct download link.
• headerText='<some text>'—An optional parameter, specifies the text to be printed as a header of each page of the resulting document.
• footerText='<some text>'—An optional parameter, specifies the text to be printed on the footer of each page of the resulting document.
• dpi='<value>'—An optional parameter,sets the source resolution for the document in DPI . This is used internally to determine the pixel size for SVG (Scalable Vector Graphics) images and bitmap images without resolution information.
Usage Examples:
[{ExportWiki id='1004,1005' path='/myexports/mywiki.pdf' dpi='300'}]
This saves the resulting file mypages.pdf in the myexports folder.
[{ExportWiki id='1004' path='result.rtf' format='rtf' footerText='Some footer text'}]
This creates result.rtf in the root folder of the Document Manager.