Free Support Forum - aspose.com

Changing of proofing language after document appending

Hello,

Aspose.Words for Java v. 18.11 is changing the proofing language for document text after appending the document to another document.

Case:
“Empty.docx” has not text and it’s language is “English”.
“Document.docx” has two paragraphs and their language is “German (Switzerland)”

After appending the seocnd document “Document.docx” to empty “Empy.docx” the language of text of the second document changed from “German” to “Russian”.

I think it’s a bug of Aspose.Words.

Best regards, Evgeniy
lang-problem.zip (78.7 KB)

@konfetov

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

We apologize for your inconvenience.

@konfetov

Thanks for your patience. It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-17774) as ‘Not a Bug’.

Please note that Aspose.Words mimics the behavior of MS Word. If you perform the same scenario using MS Word, you will get the same output. Please use the ImportFormatMode.KeepSourceFormatting in Document.AppendDocument method to get the desired output.