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.
Hello,
All documents are templates in phpdocx. So you can create a new document, and then open it as a template. There's the class CreateDocxFromTemplate to do this; the signature of this method is:
/**
* Construct
* @param string $docxTemplatePath path to the template we wish to use
* @param array $options
* The available keys and values are:
* 'preprocessed' (boolean) if true the variables will not be 'repaired'. Default value is false
* @access public
*/
public function __construct($docxTemplatePath, $options = array())
{
Regards.