Forum


Replies: 5   Views: 2589
Merging removes 2 out of 3 section breaks
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 admin  · 11-07-2017 - 13:59

Hello,

When you set mergeType as 1, the sections of the merged DOCX are removed. Only the first section is kept (you can read this behaviour on the API page of the method). If you set mergeType as 0, then all sections are preserved.

We recommend you to use the enforceSectionPageBreak available in the method. Or use DOCXPath to add new breaks in the merged DOCX.

Regards.