Forum


Replies: 3   Views: 253
Can you add font stylings on template variable replacements?
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 daveiroquois  · 23-03-2022 - 18:29

We have a Word template that works fine with simple text replacement, but we need it to be more robust. We have multiple templates but in certain circumstances, the replaced variables need to be "styled" with different font settings while in others they need to be "clean" with no font changes, so we can't put the styling on the actual text in the template. Is this possible with your tool?

We have a Premium License and are using LibreOffice for our Word Conversions, if that helps at all.