Replies: 2   Views: 699
Enforcesectionpagebreak is not working
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  · 12-02-2021 - 10:50


The enforceSectionPageBreak option sets the section type tag as nextPage, that request the section to begins on the following page. Maybe some extra setting in the DOCX overwrites the default behaviour of the section?

We have done some quick tests with enforceSectionPageBreak and we get the correct output. Please send to contact[at] the documents that illustrate your issue so we can check them and try the same script; also, as your username doesn't have any license tied, please send also the username or email that purchased the license you are using.