NumberList issue when merging/Append documents using Aspose

We are seeing issues with number lists not resetting correctly when we use Aspose’s AppendDocumen feature on two documents. The number continue from previous section to next one after Append.
I attached two documents, original and merged with other documents. It was working in version 16.6.0.0, but all new version have same issue. We were force to use 16.6.0.0 version as a temporary solution
Code line:
docx.AppendDocument(docxTemp, ImportFormatMode.KeepSourceFormatting); docs.zip (70.1 KB)

@mtariq134

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Please attach the output Word file that shows the undesired behavior.
  • Please attach the expected output Word file that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.
  • Please share the page numbers or screenshot of problematic sections of output document.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.