Forum


Replies: 3   Views: 4109
Embedhtml; prevent table/paragraph on page break
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  · 13-12-2016 - 11:25

Hello,

Using tr: {page-break-inside:avoid;} adds this tag to the DOCX:

<w:cantSplit/>

that disable the option "Allow row to break accross pages" in the DOCX.

Just as test to check it, could you try opening the DOCX using MS Word? We have teste it using MS Word 2007, MS Word 2013 and LibreOffice 5 and it's working perfectly.

For further support about this issue, please send an email to contact[at]phpdocx.com the DOCX output you get and other DOCX after fixing the content manually using MS Word or LibreOffice (this is changing the content to get the exact output you need to get).

Regards.