Forum


Replies: 5   Views: 2941
Pstyles on addheading getting overriden
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 ironinthesoul  · 30-01-2017 - 09:27

I have created a sytle called Level 1 Heading with font and font size characteristics (Verdana, 14pt) and I apply it successfully to a heading in a Word document.

 

However, in the document the font and style are not correct and the style name i displayed as Level 1 Heading + (Latin) Cambria 12pt. And, the text does look to be in Cambria 12pt! 

If I then clear formatting in the Word document and reapply LEvel 1 Heading from the list it looks the way I want it to. So, the problem is not with the style itself.

Nowwhere in my syle creation, or in the ading of the text is Cambria or 12pt mentioned at all.

How is this rogue formatting finding its way in to my documents?