Morning,
I am attempting to use customizeWordContent to change the font colour of the "Heading 1" style of predefined headers within a template.
Here is my code:
$referenceNode = array(
'type' => 'Heading 1'
);
$phpdocx->customizeWordContent($referenceNode,
array(
'color' => '#000000'
)
);
What am I doing wrong? All I want to do is in some situations change the colour.