Forum


Replies: 2   Views: 3289
Replacetemplatevariablebyhtml style problem
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 rgbob  · 14-06-2013 - 16:57

I cannot get the replaceTemplateVariableByHTML method to recognize my style sheet. In particular table borders do not appear. If I use addHTML to insert in a doc, it works fine. But the styles don't appear with replaceTemplateVariableByHTML. Are there restrictions with replaceTemplateVariableByHTML. I have a project that needs to use this method. Thanks for your help.


Posted by jorgelj  · 17-06-2013 - 09:19

Hello,



Please paste a small script to test it. There're no resctriction with replaceTemplateVariableByHTML but maybe that property is not implemented yet.



Regards. Jorge.