Forum


Replies: 2   Views: 3425
Merged docx transformed to pdf loses pagebreaks
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 matteo.moretti  · 21-06-2013 - 13:31

I'm creating some docx files from a template. Each docx is composed by a single page. Then, I merge that docx files (using DocxUtilities). So far so good: resulting merged docx is fine, with each page separated.



The issue comes when I try to convert merged docx to pdf, using TransformDoc: merged pdf "loses" page breaks. I cannot use addBreak() method, since I'm working on a template.



How can I solve? Thanks in advance


Posted by jorgelj  · 24-06-2013 - 09:00

Hello,



I recommend you to use TransformDocAdv class, that get the best result.



Regards. Jorge.