Forum


Replies: 7   Views: 613
Transform document to pdf
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 calcina  · 29-08-2022 - 21:57

The transform method 'native'.

Using dompdf allowed me to convert only normal plain text, otherwise I get the following error:

Fatal error: Uncaught Error: Cannot use object of type Dompdf\FrameDecorator\Inline as array in C:\wamp64\www\phpdocx\Classes\Phpdocx\Transform\TransformDocAdvPDF.php on line 486


How could I use the 'native' method to transform documents while maintaining their content and visual appearance? It seems to me that Libre Office is the recommended one.

I think that the 'libreoffice' conversion plugin necessarily works on 'Dedicated Hosts' due to the configuration issue, is it possible that it works on 'Shared Hosts'?

Thank you very much