We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17534. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.
Unfortunately, your issue is not resolved yet. We have completed the analysis of this issue. We are currently working on investigating the best possible way to fix this issue. We will inform you via this thread as soon as this issue is resolved. We apologize for your inconvenience.
Regarding WORDSNET-17534, we have completed the analysis of your issue and come to a conclusion that this issue is actually not a bug in Aspose.Words.
In this case, the latest version of Aspose.Words mimics the behavior of MS Word. To make sure, that MS Word behaves in the same way as Aspose.Words now, please make several steps:
Regarding WORDSNET-17534, it is to update you that we have added a new ImportFormatOptions.KeepSourceNumbering option for use in import operations.
When import nodes between different documents there can be a situation when source document has lists with the same identifiers that were already used in a destination document. MS Word in such case always uses formatting from the destination lists. To allow users to choose an appropriate behavior, the following option was introduced in ImportFormatOptions class:
/// <summary>
/// Gets or sets a boolean value that specifies how the numbering will be imported when it clashes in source and destination documents.
/// The default value is <c>false</c>.
/// </summary>
public bool KeepSourceNumbering
Also a new public method that accepts the new KeepSourceNumbering option was introduced as the following:
/// <summary>
/// Initializes a new instance of the <see cref="NodeImporter"/> class.
/// </summary>
/// <param name="srcDoc">The source document.</param>
/// <param name="dstDoc">The destination document that will be the owner of imported nodes.</param>
/// <param name="importFormatMode">Specifies how to merge style formatting that clashes.</param>
/// <param name="importFormatOptions">Specifies various options to format imported node.</param>
public NodeImporter(DocumentBase srcDoc, DocumentBase dstDoc, ImportFormatMode importFormatMode, ImportFormatOptions importFormatOptions)