Forum


Replies: 10   Views: 914
Tranformdocument docx to pdf/a
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by dev-info  · 27-02-2023 - 14:24

Thank you for your reply.

I added the macro to the file
C:\users\xxxx\Appdata\Roaming\LibreOffice\4\User\Basic\Standard\Module1.xba
I have no code error,
But no PDF file generates with this call:

$docx->transformDocument('doc.docx', 'doc.pdf','libreoffice' , array('pdfa1'=> true));


I have exhausted all my resources, and I tested all the solution you have offered me.
I don't understand where I make a mistake.
Without the pdfa option, the PDF gets good. 

:(