This method allows the user to build a Word document up from an existing template, something particularly useful when aonly a few elements have to be generated dinamically.
filePath : document path to use as template

require_once 'classes/CreateDocx.inc';
$docx = new CreateDocx();
$docx->addTemplate('TemplateText.docx');
$docx->createDocx('template_text.docx');
3 Responses
[...] There are two new functions for tables and templates: fAddTable and fAddTemplate. [...]
Why, Call to undefined method CreateDocx::fAddTemplate() ???
can you merge multiple templates into a document?