Document.compatibility_options property. Provides access to document compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Word).... Examples Shows how to optimize the document for different...versions of Microsoft Word. def optimize_for (): doc = aw . Document...