Forum


Replies: 7   Views: 4453
Error with pdf generation with new phpdocx pro
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 dlange  · 11-04-2013 - 12:13

By the way, this error occurs when using the following command:
[code]$document = new TransformDoc();
$document->setStrFile('orgfile.docx');
$document->generatePDF();[/code]

I also tried the following command, but there simply nothing happens. No PDF is generated and no error message appears either:
[code]$docx_letter->transformDocx('orgfile.docx', 'newfile.pdf');[/code]

Would appreciate if you could help with this matter. Further, which of these functions should I use if I would like to make use of the new open office powered pdf generation you implemented in 2.5?

[Update]
I now also added the following: $docx_letter->enableCompatibilityMode();
Then I get this error message when using transformDocx: Could not run jodconverter