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

Free Support Forum - aspose.com

Compatibility mode

Hi,


How do I get Aspose.Words to write docx files in non-compatibility mode? I use OoxmlSaveOptions with Compliance = OoxmlCompliance.Iso29500_2008_Transitional with Aspose.Word version 14.10.0.0, but I still get docx files with compatibility mode.

best regards
Alex

Hi Alex,


Thanks for your inquiry.

When
you open a document in Microsoft Word 2013 that was created in an
earlier version of Word, Compatibility Mode is turned on, and you see
Compatibility Mode in the title bar of the document window. In Microsoft
Word 2013, you can find various compatibility options for this document
under File | Options | Advanced | Compatibility options for: section.
In Aspose.Words, the CompatibilityOptions class is used to specify these
compatibility options. Please check the detail of Aspose.Words.Settings.CompatibilityOptions class from here:
http://www.aspose.com/docs/display/wordsnet/Aspose.Words.Settings.CompatibilityOptions+Class

You can use CompatibilityOptions.OptimizeFor
method which allows to optimize the document contents as well as default
Aspose.Words behavior to a particular versions of MS Word. Use this
method to prevent MS Word from displaying “Compatibility mode” ribbon
upon document loading.

Hope this answers your query. Please let us know if you have any more queries.

A post was merged into an existing topic: Avoid Compatibility mode - WordMl