This utility will export Polarion Document, Page or Classic Wiki page to PDF.
It has transitioned to Community Support with the Polarion 21 R1 release as the same functionality has already been supported by our WebServices API since Polarion 20 R1.
Example exporting Page to PDF, run on command-line or shell:
- For Document add the argument -source document.
- For Classic Wiki page use -source wiki.
- For Default Space use -space _default.
- The -includeHeaderFooter argument, if set to true, also includes the PDF export watermark, if one is configured.
Arguments without default are required.
All arguments: (default) - description
-----------------------------------------------------------------------------
-server (http://localhost) - your host name
-username () - your username
-password () - your password
-project () - project id
-space () - space id
-page () - id of document, wiki or page
-file () - result file path (folder/file.pdf)
-source (page) - document / wiki / page
-generateBookmarks (false) - true / false
-includeHeaderFooter (false) - true / false
-fitToPageWidth (true) - true / false
-paperSize (A4) - A4 / A3 / Letter / Legal / Tabloid
-orientation (Portrait) - Portrait / Landscape
Warning: Utility is using non-API, and may break with Polarion update.