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 for your request. Please tell me what version of Aspose.Words do you use?
I am using Aspose.Words 22.214.171.124 for .net 2.0
Thanks for additional information. I think this is a bug. I have logged this problem into our defect base as issue # 3644. We will try to fix this problem in one of future releases. The notification will be posted here in this thread as soon as it will be done.