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

Free Support Forum - aspose.com

Aspose Word AppendDocument changes original documents format

Hi There,

We are tried to merge two word documents using code as below:

        Document dstDoc = new Document(@"C:\temp\SM8-7181\Test-103.doc");
        Document srcDoc = new Document(@"C:\temp\SM8-7181\Test-104.doc");
        dstDoc.AppendDocument(srcDoc, ImportFormatMode.KeepSourceFormatting);
        dstDoc.Save(@"C:\temp\SM8-7181\Output.doc");

However the output.doc format is different from origional documents I have attached SampleDoc.zip (178.5 KB)

Can you please have a look the sample documents and let me know why?

Thanks
Ken

@KChenaus

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

We apologize for your inconvenience.