Forum


Replies: 5   Views: 2579
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 k.barendrecht  · 11-07-2017 - 14:58

Thanks for the quick reply.

Setting mergeType to 0 will always add section breaks, as will setting the option enforcePageBreaks.

I wish to set the section breaks on a per section basis. It seems devious to me to first create the documents, then merge, then modify the merged document. Isn't there a simpler way to achieve section-based page breaks?