Forum


Replies: 4   Views: 3271
How do you replace a $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 ephp027  · 29-09-2012 - 04:06

To try to get around slow table generation:

Say you add a variable like $VAR_TABLE$
create a table (addTable) and capture the WordML
replace $VAR_TABLE$ with the the WordML with addTemplateVariable --

How do you get the WordML to be inserted properly in the doc, and not show up as raw text?

Thank you.