DocumentBuilder InsertDocument ImportFormatMode.UseDestinationStyles adds bullet points to list

We use DocumentBuilder InsertDocument with ImportFormatMode.UseDestinationStyles option to insert a Document A into another B we have a problem.
Document A contains a list with bullet points, when the item is a single paragraph (if we use SHIFT+ENTER to start a new line) its insertion results as a single item so with one bullet, but when the item consists in more than one paragraph (if we use ENTER to start a new line and then BACKSPACE to delete the bullet) its insertion results in more than one item, each one with its bullet.

We tried with KeepSourceFormatting too, even if this could be a problem for us, but in any case even with this option we have not the expected result.

We provide a test with two sample documents to verify (43.2 KB)



Unfortunately, your requirement is not clear enough. We will appreciate if you please share some more details about your requirements along with problematic and expected output documents. Please also share the screenshots of problematic sections of output document. It will help us to understand your requirement and address it accordingly.

Ok sorry.
The original document part image.png (20.5 KB)
The resulting insertion image.png (30.9 KB)


We have logged this problem in our issue tracking system as WORDSNET-22149. 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 WORDSNET-22149) have been fixed in this Aspose.Words for .NET 21.6 update and this Aspose.Words for Java 21.6 update.