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.
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.
Hello,
We'll check that issue ASAP.
Regards.
Your help is very important with me to support my customer.
Deadline pressure :(
Thank you team PHPdocx
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.