Forum


Replies: 12   Views: 4527
Replace template variable with wordml
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 ludalex  · 14-01-2014 - 10:06

[quote=jorgelj]



Hello,



You can get the raw WordML of each method and use addTemplateVariable to add it but it may lose some external dependencies.



Regards.



[/quote]



addTemplateVariable() doesn't take WordML as input, I tried and it just pastes WordML in the document without having Word rendering it.