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

Free Support Forum - aspose.com

Insert List - Insert Document - List Numbering Does Not Restart

I am adding a numbered list to a source document, then inserting that source document into a destination document. My problem is that the list formatting is changed as follows when the document is inserted:


  1. List numbering continues on from an earlier numbered list.
  2. List is indented instead of starting at position 0 on left margin.
  3. List number is made bold.
I have attached a sample project. If you run it you will see the expected output in “SourceDocUpdated.docx” and the incorrect output in “DestinationDocUpdated.docx”. Can you please advise how to avoid this issue.

Note that I need to use _documentBuilder.InsertDocument rather than _dstDoc.AppendDocument.

Kind regards,

David
Hi David,

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-14803. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan