Forum


Replies: 2   Views: 3831
Replacevariablebyhtml doesn't use $variable$ font & fontsize
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  · 29-04-2015 - 15:16

Hello, The easiest solution to keep the styles of a text in a template when replacing a placeholder with replaceVariableByHTML and replaceVariableByWordFragment is to create a custom style. Please read this page for more information: https://support.office.com/en-nz/article/Style-basics-in-Word-d382f84d-5c38-4444-98a5-9cbb6ede1ba4 Regards.