[u][i][b]this simple code doesn't work[/b][/i][/u]
include_once('./helpers/phpdocx/classes/CreateDocx.inc');
$NomDocument = 'blabla';
$folder = "";
$docx = new CreateDocx();
$docx->setEncodeUTF8();
$Template = "doctmp.docx";
$docx->addTemplate($Template);
$docx->createDocx('tmpdoc');
$docx = new CreateDocx();
$docx->setEncodeUTF8();
$docx->addText('2 DOCX content');
$docx->createDocx('doctmp');
$docx = new CreateDocx();
$docx->setEncodeUTF8();
$docx->addText('DOCX content');
$docx->addDOCX('tmpdoc.docx');
$docx->addDOCX('doctmp.docx');
$docx->addText('reDOCX content');
$docx->createDocx($NomDocument);
[u][b][i]Using addtemplate is the problem
same code without addtemplate work fine[/i][/b][/u]
Do you know this issue ?
thx