Forum


Replies: 1   Views: 263
Keep text together across pages breaks in transformed pdf
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 jwphp  · 10-11-2025 - 18:43

When transforming a DOCX to PDF with TransformDocAdvPDF is there any way to keep paragraphs, word fragments or table rows together across page breaks? This is possible with keepNext when generating a DOCX but it seems to lose this ability when converted to a PDF. Is there any workaround that will provide some way of keeping text together across page breaks in a PDF?

I am using phpdocx 16 Premium.