Hi, it seems like the ImportStyle "replace" is not importing the styles.
These do not import and I can only see the PHPDocx styles.
$docx->importStyles("../Corporate_Word_Template.docx"); ( default ).
$docx->importStyles("../Corporate_Word_Template.docx", 'replace');
This works and can see both PHPDocX styles and my own.
$docx->importStyles("../Corporate_Word_Template.docx", 'merge');
thanks
G.