'.$htmlCode.'
',
array('strictWordStyles'=>true,
'wordStyles'=>array(''=>'myStyle')));
Finally I got the following error message:
Fatal error: Call to a member function saveXML() on a non-object in ......Classes/Phpdocx/Create/CreateDocx.inc on line 3484
If I try to use createParagraphStyle with $docx variable it's work fine but iformatting does not applying...
It could be that WordFragment class not able to use this method? If yes...how can I add own word style or any word styla to my htmlCode content?
Thanks!