Regarding WORDSNET-19312, it is to update you that we have completed the analysis of this issue. The error occurs because glossary documents of your documents contain large number of styles. When appending documents, the number of styles increases and exceeds the maximum allowable number of styles per document (4094).
For example, Doc_1.docx contains 2502 styles, Doc_2.docx contains 1366 styles. After appending Doc_2.docx, the target glossary document contains 2942 styles. Many of the styles are not actually used.
So, we can suggest the following (temporary) solution to you:
const string dir = "E:\\temp\\ASPOSE DOCS\\";
Document target = new Document(dir + "Doc_1.docx");
// Remove unused styles.
CleanupOptions cleanupOptions = new CleanupOptions();
cleanupOptions.UnusedLists = false;
// Normalize internal style IDs.
target.Save(dir + "Tmp.docx");
target = new Document(dir + "Tmp.docx");
for (int i = 2; i < 10; i++)
String docName = dir + "Doc_" + i + ".docx";
Document source = new Document(docName);
target.Save(dir + "19.9.docx");
The target result document contains 2751 styles while limitation of the document format is 4094. If this solution will not fit in your real work, then we will try to implement a solution that combines and removes styles with a similar definition.
We will keep you posted on any further updates and let you know when this issue will be resolved in future.