Forum


Replies: 2   Views: 3274
Creating pdf from 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 jolyon2000  · 20-01-2011 - 12:52

Hi have created a script which creates a PDF document from DOCX document, however, the formatting in the PDF document does not resemble that of the DOCX document at all!! My code is:

require_once("TransformDoc.inc");
$document = new TransformDoc();
$document->setStrFile($UTILS['AUDIT_REPORTS_REPOSITORY'].'/template_table.docx');
$document->generatePDF();


I have the Pro version so i would expect this to work!