Thanks for this patch :)
In an other part, is there a solution for this (last post) : http://www.phpdocx.com/forum?vasthtmlaction=viewtopic&t=55.00 ?[/quote]
This is the only solution i had but it works fine
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_2â);
$docx = new CreateDocx();
$docx->setEncodeUTF8();
$Template = âdoctmp_1.docxâ;
$docx->addTemplate($Template);
$docx->createDocx(âtmpdoc_2â);
$docx = new CreateDocx();
$docx->setEncodeUTF8();
$docx->addText(âDOCX contentâ);
$docx->addDOCX(âtmpdoc.docxâ);
$docx->addDOCX(âdoctmp_2.docxâ);
$docx->addDOCX(âtmpdoc_2.docxâ);
$docx->addText(âreDOCX contentâ);
$docx->createDocx($NomDocument);
In my application I add more than 50 documents made with different template and it work fine and fast
++