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

Free Support Forum - aspose.com

Problem on saving document in DOCX to HTML FIXED, if replacing text before accepting the revisions


We encounter a problem when saving a document in DOCX to HTML FIXED.

We perform multiple manipulations on this document, in the order we replace text, and we accept pending revisions to finally save it.

When the text is replaced before accepting the revisions saving of the file is not possible.

The code I provided shows you the problem.

Note that saving the same document in HTML works.

Can you look ?

Thank you Best regards

element.zip (4.5 MB)

Tested in Aspose.Words 21.9 version


We have tested the scenario and 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-22753. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


Please call Document.UpdatePageLayout method before saving the document to avoid the shared issue.

document.Save(MyDir + "21.10.html", SaveFormat.HtmlFixed);