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 - 10:35

hello, i need to convert docx to pdf in pdf/A format.
I transform word documents into pdf, but even with the pdfa option of libreOffice, the pdf is not in PDF/A
What to do? how to do ?

my code test :

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

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

THANKS

Christopher