I found a problem when I try to apply a style to a paragraph.
Start by explaining briefly the scenario: dynamically with Sharepoint take a word document already exists, and using Spire.Doc I open it and compete in the missing parts. Then complete all the different parts without any problems. But when I create the final chapter (number 11) and insert the title of the chapter by applying the style "Heading 2", I realized that the style Heading 3 (Chapter 3, in the practice of another previous section) is changed dynamically with a different font and size.
I have attached a diagram of this process.
Why if I use
- Code: Select all
paragraph.ApplyStyle(BuiltinStyle.Heading2);
in Chapter 11 (and section 13) change styles in Chapter 3 (and Section 2)? I do not understand why. Thank you.