Free Support Forum - aspose.com

A question about the appendDocument

I have two document, and I want to append B.doc to A.doc。
My code is:
Document a = new Document(“A.doc”);
Document b = new Document(“B.doc”);
a.appendDocument(b, ImportFormatMode.KEEP_DIFFERENT_STYLES);
a.save(“C.doc”);
I have try ImportFormatMode.KEEP_DIFFERENT_STYLES ,KEEP_SOURCE_FORMATTING and USE_DESTINATION_STYLESTest.zip (25.7 KB)

The document is saved successfully. But check the ‘C.doc’ , the second question’s picture is not complete. But in B.doc ,it is complete.
However, If I have manipulated the document B.doc ,the C.doc will be ok after I append the document.
How can I solve the problem,Tanks

@zhengkai,

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-17140. 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-17140) have been fixed in this Aspose.Words for .NET 18.9 update and this Aspose.Words for Java 18.9 update.