Export Wiki Plugin
The ExportWiki plugin generates a download link for PDFs exported from wiki pages.
[{ExportWiki id='1004,1005' format='pdf'}]
Parameters:
• id='<comma-separated list of wiki page ids>'
• linkText='<some text>' (optional) - the text of the link.
• format='pdf| rtf' (optional) - output file format; if omitted then 'pdf' will be used. ('rtf' is experimental because of the known issues in the formatter library.)
• path='<path>' - path in the Document Manager where the resulting document will be saved. Note that the directory in target path must exist, it will not be automatically created. If this parameter is omitted, then the plugin renders a direct download link.
• headerText='<some text>' (optional) - text to be printed at head of each page of resulting document.
• footerText='<some text>' (optional) - text to be printed on footer of each page of resulted document.
• dpi='<value>' (optional) - 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.
Examples of Use
[{ExportWiki id='1004,1005' path='/myexports/mywiki.pdf' dpi='300'}]
will save the resulting file mypages.pdf in the myexports folder.
[{ExportWiki id='1004' path='result.rtf' format='rtf' footerText='Some footer text'}]
will create result.rtf in root folder of the Document Manager.