Forum


Replies: 4   Views: 3492
Wordfragmant -> createparagraphstyle() possible that not work?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Sven May  · 06-05-2015 - 11:23

Hi! So I did the following: $style = array('color'=>'999999','font'=>'Arial Black'); $docx->createParagraphStyle('myStyle', $style); $docx->embedHTML('
'.$htmlContent.'
', array('strictWordStyles'=>true, 'wordStyles'=>array('
'=>'myStyle'))); ...and it is not work...however where I want to use this style solution I have to use WordFragment class! Thanks