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.
Actually I runned your exmaple codes!
Copy from this page: http://www.phpdocx.com/documentation/introduction/html-to-word-PHP
sectoin: Using native Word formatting with HTML source code. Run it and in
$wordStyles = array('[table TAG open-close]' => 'LightListAccent3PHPDOCX', '[h1 TAG open-close]' => 'Heading2PHPDOCX' , '.heading2' => 'Heading2PHPDOCX');
'[h1 TAG open-close]' => 'Heading2PHPDOCX' part is not work. The .heading2 is fine but the TAG using is not!
Tha base source code was example/Core/embedHTML/sample_1.php I just modified the cvode from the mentioned page....