Forum


Replies: 3   Views: 3421
Pdf format issue
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 concentric  · 13-11-2012 - 17:49

Hello,

while converting docx to pdf, it removes table formating as well as I am getting header and footer on only page 1,3,5,7 why it skips page 2,4,6,8. Any resolution. I am using template and populating its contents.

Please help.

Thanks





Posted by mbcalvin  · 11-04-2013 - 12:13

Hello,
I have found that using the pdf converter doesn't work very well on complex documents. If you are on an IIS server you may want to look into COM with word. We are using that and it works perfectly. On Linux, I think there is a COM option for using open office to do the pdf conversion, but you may have to look around a little for that one.

The short answer, though, is don't use the pdf converter in the PHPDocx library as it won't keep styles.

Posted by admin  · 11-04-2013 - 12:13

Hello,

Phpdocx pro+ and Phpdocx corporate use a plugin converter that use OpenOffice and OdfConverter to to PDF conversion. This method has much better results than using XSL files.

Regards.