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

Free Support Forum - aspose.com

Avoid Compatibility mode - WordMl

How do I get Aspose.Words to write SaveFormat.WordML files in non-compatibility mode?

save format : SaveFormat.WordML
document.Save(“output.xml”, SaveFormat.WordML)

when I am opening this document from office online…it will popup compatibility mode. how can i avoid that…

How do I get Aspose.Words to write SaveFormat.WordML files in non-compatibility mode?

save format : SaveFormat.WordML
document.Save(“output.xml”, SaveFormat.WordML)

when i am opening this document from office online…it will popup compatibility mode. how can i avoid that…

@suren,

We have logged your requirement in our issue tracking system. Your ticket number is WORDSNET-18264. We will look into the details of this requirement/problem and will keep you posted on further updates. We apologize for any inconvenience.

@suren,

MS Word always opens WordML (Microsoft Word 2003 WordprocessingML) in compatibility mode. Even if the document is saved via MS Word. I am afraid, we cannot prevent it. Maybe you meant other XML format - FlatOPC (The Office Open XML WordprocessingML is stored in a flat XML file). In MS Word, it just looks like another XML format:

If this is true, then there is no problem in Aspose.Words. When saving in the FlatOpc format MS Word opens document without compatibility mode. And you just need to use SaveFormat.FlatOpc instead to get the desired output.

We will wait for your further input on this topic. Thanks for your cooperation.

@suren,

Regarding WORDSNET-18264, we have completed the work on your issue and concluded to close this issue as ‘Not a Bug’. Please see my previous post for analysis details.