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

Free Support Forum - aspose.com

Proofing errors are not persisted on Save

When saving a word document, the proofing errors are not persisted.

Code:

using (FileStream fs = File.OpenRead(Server.MapPath("/File") + "\\inputFile.docx"))
{
    var doc = new Document(fs);;
    doc.Save(Server.MapPath("/File") + "\\outputFile.docx");
};

In document.xml:
Expected:

<w:proofErr w:type="spellStart"/>
	<w:r>
		<w:t>peolpe</w:t>
	</w:r>
<w:proofErr w:type="spellEnd"/>

Actual:

<w:r>
	<w:t>peolpe</w:t>
</w:r>

The word peolpe is a misspell of the word people and the proofing error should persist.

Input File:

inputFile.docx (11.7 KB)

I have attached a web application that reproduces this issue.

WebApp.zip (16.8 KB)

@edis.omer Currently Aspose.Words does not preserve proofErr elements. This is a missed feature, which is logged as WORDSNET-13770. We ill keep you informed and let you know it is resolved.