Forum


Replies: 4   Views: 3531
Can't view docx in gdoc viewer
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  · 11-04-2013 - 12:13

Hello,

When you use addTemplateVariable method as one of these content types: html, rtf, docx or mht, phpdocx adds an altchunk tag. This tag is only supported in MS Office.
We recommend you to use replaceTemplateVariableByHTML method, that transforms HTML to WordML and then the placeholder is replaced.

Regards.