Replies: 11   Views: 2421
Handling of lists..
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  · 26-09-2019 - 10:49


There's no option to avoid that MS Word behaviour. Line breaks can't be hidden automatically based on content positions.

You could use keepNext (page-break-after CSS) and keepLines (page-break-inside CSS) options to keep contents in the same page, so you could avoid that extra line breaks at the top of a page as the list item and line breaks will always be in the same page. But doing this from HTML could require HTML Extended from Premium licenses.