Forum


Replies: 7   Views: 245
Replacevariablebyhtml css render with root tag not working
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  · 06-05-2019 - 11:51

Hello,

You can get all information about styles,using getWordStyles, available since phpdocx 9 (https://www.phpdocx.com/news/post/phpdocx-v9-release-notes/218).

For example, using this method you can get the font size used in a content or style (default, custom and others) from a template or a DOCX generated from scratch and use it to set font size values with HTML, addText and other methods.

Regards.