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.
Edited by admin ·
01-05-2015 - 18:56 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.