Forum


Replies: 8   Views: 4239
Header styles in wordstyles in embedhtml
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 garyhillerson  · 04-02-2013 - 04:17

The new update fixed most of my problems with embedHTML, but I have one thing I can't figure out with the wordstyles array param.

I can map a paragraph style into a word style, but can't get Css Header styles (like H1.MyHeading) to map into my word styles.

I tried mapping H1.MyHeading and .MyHeading, but those paragraphs get mapped to Normal in both cases. Is there a designator of
Some sort I can use to map that and other CSS Hx styles?

G