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 https://help.libreoffice.org/7.4/en-US/text/shared/guide/start_parameters.html and https://help.libreoffice.org/7.4/en-US/text/shared/guide/csv_params.html
*** Bug 147387 has been marked as a duplicate of this bug. ***
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.
The source code has the list of all possible option names: https://github.com/libreoffice/core/blob/62a8580587aec1c1a3070448b063889c01ac5c11/filter/source/pdf/pdfexport.cxx#L491-L618 There is also some info in the old wiki at: https://wiki.openoffice.org/wiki/API/Tutorials/PDF_export#General_properties My expectation is that the "string", "long"/"short" and "boolean" types are what you are able to specify from convert-to.
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/8c0b0a8e0aad857b7089883f7c4fabbe8d9d64de tdf#147105 Document the various new PDF export options in command-line
The Help page needs more work, some export options are not well documented. https://help.libreoffice.org/master/en-US/text/shared/guide/pdf_params.html Help is appreciated. PreparedPasswords PreparedPermissionPassword SignatureCertificate SignCertificateSubjectName
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/8526bfa2d6570e05906ab96b195dc1c773a734d7 tdf#147105 Fix inconsistencies in pdf param descriptions
(In reply to Olivier Hallot from comment #5) SinglePageSheets is also undocumented; it is about this feature: https://wiki.documentfoundation.org/ReleaseNotes/6.4#Full-Sheet_Previews
Err, https://wiki.documentfoundation.org/ReleaseNotes/6.4#Whole_sheet_export
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/d686d91fb8d108c8283dd8d9f537224ed43ac6ac tdf#147105 More PDF export param documented