Forum


Replies: 1   Views: 225
How to create a document from a template with the content of the file ( not a link to the file)
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  · 16-12-2024 - 16:14

Hello,

phpdocx Premium licenses support using in-memory DOCX documents. On https://www.phpdocx.com/documentation/cookbook/in-memory-docx-documents you can read all information about this feature.

Please note that in-memory DOCX documents are not DOCX files as strings, but DOCXStructure objects (that can be serialized if needed). In your case, you need to generate the DOCX documents as files to read them with CreateDocxFromTemplate or create in-memory DOCX documents in the case of using a Premium license.

Regards.