Forum


Replies: 1   Views: 1668
Issue converting pdf file to docx
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 ascendware  · 06-05-2020 - 08:11

Hi,

I'm using this script (https://www.phpdocx.com/documentation/cookbook/convert-pdf-to-docx) to convert a PDF to a DOCX file format. However, it is throwing a "Class 'VARIANT' not found" error. Can you help me with this error?

Also, can the CreateDocxFromTemplate class accept a PDF file as a source template?

 

Thank you very much.