mart1c, you are perfectly right about predefining your styles first in Word, then importing them.
This is the correct way to do.
Beware that Style in OpenXml can be applied at 4 different scopes: Paragraph, Character (=Run), Numbering and Table.
So even if the naming is important (case insensitive but yes, beware of spaces), the scope is also important.
You can name 2 different scopes with the same name, thought.
Hope this help your understanding
This is the correct way to do.
Beware that Style in OpenXml can be applied at 4 different scopes: Paragraph, Character (=Run), Numbering and Table.
So even if the naming is important (case insensitive but yes, beware of spaces), the scope is also important.
You can name 2 different scopes with the same name, thought.
Hope this help your understanding