Forum


Replies: 5   Views: 4319
Html table when converting to pdf causing issues
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 wcalhoun  · 30-07-2015 - 16:40

I am dynamically creating a docx file using HTML, including a table, and the resulting docx looks exactly like I want it to. But when I then use transformDocument and output a PDF, the resulting PDF only shows the first row from the table and it's like it crashes, it doesn't even finish converting the document after the table. Meaning, the table is on page 3 of 5, but the PDF ends at page 3, and the PDF also doesn't have the heading.

Posted by admin  · 30-07-2015 - 16:42

Hello, What plugin conversion are you using? LibreOffice or OpenOffice? Also please post the version number of LibreOffice/OpenOffice you have installed. Regards.

Posted by wcalhoun  · 30-07-2015 - 16:54

LibreOffice 4.4.4.3

Posted by admin  · 30-07-2015 - 16:57

Hello, After reading these good practices working with the conversion plugin and doing any needed change: http://www.phpdocx.com/documentation/conversion-plugin/preparing-the-templates-for-its-conversion Please send to contact[at]phpdocx.com your DOCX to check it. Regards.

Posted by admin  · 30-07-2015 - 17:49

Hello, Please download and install LibreOffice 4.3 from https://www.libreoffice.org/download/libreoffice-still It seems LibreOffice has some issues working with DOCX files. Regards.

Posted by wcalhoun  · 31-07-2015 - 13:49

Downgrading my LibreOffice to 4.3 did fix the problem.