Hello,
We have done some quick tests and everything is working correctly when updating the styles. We have generated a DOCX with a custom style that sets a bold style and uses the default font. Using DOCXCustomizer:
$referenceNode = array(
'type' => 'paragraph',
'occurrence' => 1,
);
$docx->customizeWordContent($referenceNode,
array(
'bold' => false,
'font' => 'Times New Roman',
)
);
the bold style is disabled and Times New Roman is set as the font in MS Word and using phpdocx methods (the same if we done the changes manually).
If you send to contact[at]phpdocx.com a DOCX we'll check it and generate a custom sample script. If you also sent the phpdocx code you are running to change the styles we'll check it too.
Regards.