Forum


Replies: 4   Views: 3193
Empty lines after transformation docx to 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 xox  · 07-02-2011 - 13:18

I have updated phpdocx to v2.1 and now there are problems with converting docx to pdf. If document (docx) contains empty lines, in PDF it will ignore them. In old version there was no such kind of an issue.

I know domPDF is used for PDF generating but as I said it worked in previous version, in new one it doesn't.

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

Hi,

Phpdocx 2.1 uses DOMPDF 0.6, and previous versions use DOMPDF 0.5. If you prefer DOMPDF 0.5 you can replace the directory.

Regards.

Posted by xox  · 11-04-2013 - 12:12

Replacing pdf directory doesn't do any good because of changes in Transformdoc.inc ...

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

Hi,

Of course, you should do some minor changes in source code. Look at TransformDoc.inc.

Regards.