Forum


Replies: 9   Views: 8561
Generate pdf out of docx file - problem with html
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 qwerty  · 20-09-2011 - 10:37

Hello!

I'm using the Pro version and am trying to generate a PDF out of a .docx file.

The generation of the .docx file works fine.
I am using $docx->addHTML()

But when i try to generate a PDF, I only get a blank page.

Even if i use the demo and add HTML to the docx file, it is not shown in the pdf.

Is that a bug or am I doing something wrong?

Also, how do I add header and footer parts to the pdf?
They are shown in the .docx, but not in the pdf

Thanks!

Best
Malte