Bug 147105 - Document the various new PDF export options in command-line
Summary: Document the various new PDF export options in command-line
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
: 147387 (view as bug list)
Depends on:
Blocks: HelpGaps-NewFeatures Commandline
  Show dependency treegraph
Reported: 2022-02-01 07:53 UTC by Miklos Vajna
Modified: 2022-02-22 15:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Vajna 2022-02-01 07:53:03 UTC
Since https://gerrit.libreoffice.org/c/core/+/128849, the PDF export options on master can be also set from the cmdline. We have a rich set of PDF export options, which were only available to extensions/macros previously. The commit message contains some examples, but the full set of options is available in filter/source/pdf/pdfexport.cxx.

It would be nice to document these, similar to how the CSV export options are documented in



Comment 1 Mike Kaganski 2022-02-12 08:15:19 UTC
*** Bug 147387 has been marked as a duplicate of this bug. ***
Comment 2 Olivier Hallot 2022-02-19 16:18:42 UTC
In the example from the patch message, 

soffice --convert-to 'pdf:draw_pdf_Export:{"PageRange":{"type":"string","value":"2-"}}' test.odg

can you give the source of information for pdf filter parameters (e.g. "PageRange", ...) above?

Users will surely ask for all available options.
Comment 3 Miklos Vajna 2022-02-21 07:47:26 UTC
The source code has the list of all possible option names:


There is also some info in the old wiki at:


My expectation is that the "string", "long"/"short" and "boolean" types are what you are able to specify from convert-to.