Forum


Replies: 6   Views: 284
Widowcontrol in combination with html inserted text
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  · 20-10-2023 - 06:44

Hello,

Please note that enabling Widow/Orphan Control as true in Word doesn't assure that all lines of the same paragraph are in the same page. These terms (widow and orphan) refer to one (and sometimes two or three) lines (https://wordribbon.tips.net/T012695_Controlling_Widows_and_Orphans.html).

To accomplish this task as you require, you should enable the option "Keep lines together". This setting can be enabled when transforming HTML to DOCX using the following style:

page-break-inside: avoid;

After purchasing a license we can provide further support if needed.

Regards.