Forum


Replies: 3   Views: 739
Get style from a document and set style other
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  · 02-11-2022 - 11:35

Hello,

Please check the samples included in the package. All packages include samples of all methods.

On https://www.phpdocx.com/documentation/snippets/get-font-size-content you can find a detailed custom sample that illustrates how to get the font size. The same iteration can be used to get other styles.

You need to translate the style information from getWordStyles to the options supported in DOCXCustomizer.

Regards.