Forum


Replies: 2   Views: 3729
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 smartbit  · 29-04-2015 - 10:08

I have a template docx with some variables and one variable is being replaced with a html table using the replaceVariableByHTML function. This works but the font & fontsize from my templates variable (Verdana, 10pt) is replaced with Cambria 12pt. With replaceVariableByText everything is correct. Is there a way to read out the markup from the variable so I can set it with