ok, I have used the following code which works fine when I put 'type' => 'paragraph' but when I put 'type' => '*' then it does not work so how I can apply the font to all content? Please paste any code example if you can.
$docx = new \Phpdocx\Create\CreateDocxFromTemplate($tempFilePath);
$referenceNode = array(
'type' => 'paragraph'
);
$docx->customizeWordContent($referenceNode,
array(
'font' => 'Times New Roman'
)
);
$docx->createDocx($new_file_path);
Thanks for your patience and for helping me.
Regards,