Forum


Replies: 3   Views: 3632
Problem creating 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 irxn84  · 14-11-2015 - 09:45

HI,

I generate a docx which looks fine. But then I want to create a PDF from the docx with this code:

        $document = new TransformDoc();
        $document->setStrFile($filedest.".docx");
        $document->generatePDF($filedest.".pdf");

The pdf doesn't look anything like the docx.

I am using phpdocx version 3.7.

What am I doing wrong?

Best regards,

Peter