I have a document which I want to convert to PDF, programmatically.
Running the command
soffice --convert-to pdf document.docx yields a pdf which has blank sections.
Opening the same
docx file in Writer and using the menu to
Export to PDF yields a PDF will all content rendered.
Is there anyway replicate the
Export to PDF functionality or does the
soffice cli command allow additional arguments to be passed which would allow the options available in the GUI?