Forum


Replies: 3   Views: 3800
Cannot add properties on a template document.
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 Griffith University  · 28-06-2013 - 08:57

When we try to adjust properties on a document we've created via template the properties don't take.




$docx = new CreateDocx();
$docx->addTemplate('template.docx');
....
$docx->addProperties($properties);
$docx->createDocx('blah.docx');


That results in a document with the same properties as the template, so the addProperties hasn't changed anything.