Forum


Replies: 3   Views: 3282
Pdf dont get styles of 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 nschulze  · 20-01-2011 - 15:26

# jolyon2000

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!

# nschulze
@jolyon

i got the same problem =/


like jolyon and i already reported
nothing of the styles from the docx were set to the pdf