Forum


Replies: 6   Views: 415
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  · 19-10-2023 - 13:17

Hello,

What version and license of phpdocx are you using?

Please note that the second parameter of embedHTML doesn't include the same options as addText. When transforming HTML, the widowControl option (default as true for paragraphs) can be set using HTML styles or a custom paragraph style.

If you need to change styles on-the-fly of existing contents in a DOCX you need to use customizeWordContent. available in Premium licenses.

Regards.