We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Appending a file with contains lists will result in wrong numbering of listitems

Hello,

In the lastest version of Aspose (17.8), I have encountered an issue when appending a document that contains a list. The numbering of the listitems gets messed up (list continues instead of starting on 1 again). I have created a sample document to illustrate the issue. This seems to work fine in version 17.6.

I’m using the following code:

var document = new Document();
var sourceDocument = new Document(@"D:\ListTest.docx");
document.AppendDocument(sourceDocument, ImportFormatMode.UseDestinationStyles);

ListTest.zip (10.6 KB)

@ademan,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15788. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@ademan,

The issues you have found earlier (filed as WORDSNET-15788) have been fixed in this Aspose.Words for .NET 17.11 update and this Aspose.Words for Java 17.11 update.

Please also check the following articles: