Add ability to set PDF export options
Created originally on Bitbucket by Anonymous
When exporting a document to PDF with libreoffice via the menu "File > Export as PDF", there is a panel with several options across multiple tabs:
I would like to be able to set some of these options via py3o. My immediate need would be to activate the option "Archive PDF/A-1 (ISO 19005-1)", to be able to produce a valid Factur-X invoice with the factur-x lib available from https://github.com/akretion/factur-x : this lib needs a valid PDF/A as input to produce a valid PDF/A-3 as output.
A rapid Google search lead me to this web page with code sample (it is for openoffice.org and not for libreoffice, but I haven't found the libreoffice equivalent yet): https://wiki.openoffice.org/wiki/API/Tutorials/PDF_export
Any advice to implement that ?