Hello,
I want to ask, if there is a possibility to insert page break into template variable.
I have variable $PAGEBREAK$ and in PHP, I want to make such thing:
if ($insertbreak) {
$docx->addTemplateVariable('PAGEBREAK', $docx->addBreak(array('type'=>'page')));
}
else { $docx->cleanTemplateVariable('PAGEBREAK'); }
It however doesn't work, I've tried also parameter rawWordML and it didn't work anyway..
Could you please help me? Thank you a lot!