Ordered / unordered lists not appearing correctly in downloaded digital document

having an issue with ordered lists after merging html files with Aspose.Words version 22.9.0.0 for C#.
The first list is fine but all the lists after it will lose their list-style-type value and instead keep the one that was defined in the first list.

The merge is being done via the Document.AppendDocument() method.

Attaching an example of 3 lists with different list-style-type values and the result of merging them.

ListsMerged.zip (239.7 KB)

@PTDLPPLRunTeam Thank you for reporting the problem to us. For a sake of correction it has been logged as WORDSNET-24600. We will keep you informed and let you know once it is resolved.

Hi Alexey,

Any plans on when to deliver the correction? So, we can align this on our side.

Thanks.

@PTDLPPLRunTeam The issue is currently in the queue for analysis and currently we cannot provide you any estimates regarding it. We will be sure to keep you updated and let you know once the issue is resolved or we have more information for you.

@alexey.noskov Meanwhile, is it possible to provide a workaround on this?

@PTDLPPLRunTeam Please try using ImportFormatOptions.KeepSourceNumbering to get the desired output:

Document doc1 = new Document(@"C:\Temp\list1.html");
Document doc2 = new Document(@"C:\Temp\list2.html");
Document doc3 = new Document(@"C:\Temp\list3.html");

ImportFormatOptions opt = new ImportFormatOptions() { KeepSourceNumbering = true };
doc1.AppendDocument(doc2, ImportFormatMode.KeepSourceFormatting, opt);
doc1.AppendDocument(doc3, ImportFormatMode.KeepSourceFormatting, opt);

doc1.Save(@"C:\Temp\out.docx");

The issues you have found earlier (filed as WORDSNET-24600) have been fixed in this Aspose.Words for .NET 23.9 update also available on NuGet.