We have template file with coverpage for our document.
on cover page i have placeholder which is getting replaced
$docx = new \Phpdocx\Create\CreateDocxFromTemplate(__DIR__ . '/../../Resources/Public/Templates/Quotation_front_'.$short.'.docx');
/* some code with defining header variable */
$docx->replaceVariableByHTML('HEADING', 'block', $header, array('isFile' => false, 'parseDivsAsPs' => true));
then we need to have be on next page since we are done with the coverpage
$docx->addBreak('page');
/* creating html on-fly and embedding that into doc */
$productElement = new \Phpdocx\Elements\WordFragment($docx, 'products');
$productElement->embedHTML($html);
$docx->addWordML($productElement);
but when i insert my content it places it in cover page.
so the question is how i can move to the next page