Forum


Replies: 4   Views: 3365
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 dqhung  · 15-11-2012 - 04:31

HI all,

After i replace addTemplateVariable and create docx, i'm using API Gdoc to view docx online but not available, while i'm using orginal example docx to view is good.

Can help me ?
Thank so much.

Posted by admin  · 11-04-2013 - 12:13

Hello,

We'll check that issue ASAP.

Regards.

Posted by dqhung  · 11-04-2013 - 12:13

Your help is very important with me to support my customer.
Deadline pressure :(

Thank you team PHPdocx

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.