Forum


Replies: 6   Views: 4227
Default font on lists in embedhtml (strictwordstyles)
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 admin  · 17-03-2015 - 08:19

Hello, As explained in the documentation and the examples, the createParagraphStyle method is only for text/paragraph content. If you want to use custom styles with the embedHTML method with a HTML that includes tags different like

you need to use CSS styles or the importStyles method. Plese check the available documentation and samples. This post explain some details working with list styles: http://www.phpdocx.com/en/forum/default/topic/947 Regards.