Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Headless Writer PDF Export filter options format


I have a script that converts DOCX files to PDF and I need to set filter options at run time. Therefore, I cannot modify what is in the registrymodifications.xcu file. Here is the command I used but it doesn't pick up the resolution and quality values. It always pick up what is in the XCU file:

libreoffice --headless --convert-to pdf:"writer_pdf_Export:ReduceImageResolution=True;MaxImageResolution=75;Quality=50" MyDocument.docx

What did I do wrong? I'm using version Linux 64 bits.

Thank you, Phil