Community
Thumb_3-pdf-icon

Generate PDF from Document or Wiki page

 Small program that generates a PDF export from a Document or Wiki page.

Description

This extension is related to the Classic Wiki technology that is now outdated and replaced by our new LivePage format. We still maintain Classic Wiki but we are no longer extending its feature set.

Please consider implementing the use case you are looking for using a LivePage.

Limitations
Currently doesn't work with multi-instance installations.

Usage scenarios

  • Export multiple Documents and Wiki pages using a shell script.
  • Workflow actions that export Documents and store them in the repository.
  • Job that exports multiple Documents and stores them in the repository.

Usage

Run java -jar loadpdf.jar with following parameters:
 -a3               Use page size 'A3'
 -a4               Use page size 'A4' (default)
 -adjustWidth      Specify to resize exported page to fit width.
 -bookmarks        Generate bookmarks for headings.
 -header           Include header and footer.
 -host <arg>       Host-URL (e.g.: http://localhost)
 -landscape        Use landscape page orientation
 -legal            Use page size 'Legal'
 -letter           Use page size 'Letter'
 -location <arg>   Module/Document/Wiki-Page Location (e.g.:
                   Specification/PB_ELibrary, _modules/ModuleName for
                   modules)
 -password <arg>   Password
 -pdf <arg>        Name of the destination pdf-file (e.g.: export.pdf)
 -portrait         Use portrait page orientation (default)
 -project <arg>    The source project's Id (e.g.: elibrary)
 -tabloid          Use page size 'Tabloid'
 -user <arg>       Username
 -wiki             Specifiy to export wiki pages or module home.

If you want to integrate the tool in your own Java extension take a look at the source code that are included in the download

Information

Vendor Frank Gräfe & Ben Glee (Siemens PLM)
Published Version 1.0.0 - July 2012
Categories
Price Free
242 Downloads
Community Supported Extension This extension is not supported by Siemens PLM.
Requirements Polarion version 2012