Forum


Replies: 1   Views: 4968
Two dimension table replacement
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 admin  · 02-12-2015 - 09:34

Hello,

Yes, you can do it easily:

· If you're generating the document from scratch use the WordFragment class or the embedHTML.

· If you're using a template with the replaceVariableByWordFragment method or even replaceVariableByHTML.

Or you can mix both is approaches if needed.

Please check the API methods and included examples on http://www.phpdocx.com/documentation/api-documentation

Regards.