Hi,
I am trying to build a large document with heavy use of DocumentBuilder.ImportNode with KeepSourceStyles option.
It works well but the final document has a large number (hundreds) of duplicated styles (e.g. ListItem_1, ListItem_2, ListItem_3, … ListItem_356, Normal1 … Normal 400).
This makes manual editing harder for final users.
Is there any way to collapse these redundant styles?
Attached an example of the final document.
Thanks,
Pascal.