That would only be because your document lacks the 'cItalic' Style. It's your responsibility to make sure the Styles exist...
I refer you again to what is said in post #2:
Quote:
Originally Posted by macropod
There are plenty of code examples here for ... how to create Styles.
In any event, one wouldn't simply create such a set of Styles (some of which are already defined in Word) conditionally for any given document - one would simply create all the required Styles once in the relevant document template.
|