Forum


Replies: 1   Views: 3353
Removing all content from a template when working with createdocxfromtemplate
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 hannorahn  · 22-02-2016 - 11:26

In my application a user can upload a word template and we generate a report using the uploaded template (using CreateDocxFromTemplate($file)).

Now I need to clear all the content from the template.

How can this be accomplished?