Forum


Replies: 1   Views: 2747
Chunk from replacevariablebyexternalfile is not converted to pdf
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  · 07-03-2017 - 07:19

Hello,

The methods addExternalFile and replaceVariableByExternalFile use an altChunk tag that is not supported by the conversion plugin (this special tag is only supported by MS Word on Windows). Yon can read about this tag on:

http://www.phpdocx.com/documentation/conversion-plugin/common-problems-and-possible-errors

To transform HTML to DOCX and be able to transform the output document to PDF, please use embedHTML or replaceVariableByHtml methods.

If you need to merge DOCX please use the mergeDocx method:

http://www.phpdocx.com/api-documentation/docxutilities/merge-Word-documents-with-PHP

Regards.