[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
compat (Compatibility Settings)
This element specifies a set of optional compatibility options for the current document.
All settings in this section are optional, but some are very commonly used by different languages, and those which are typically used are as follows:
For Thai, Lao, Khmer, Tibetan, and Armenian:
• The applyBreakingRules setting (§2.15.3.4)
For East Asian languages:
• The adjustLineHeightInTable setting (§2.15.3.1)
• The balanceSingleByteDoubleByteWidth setting (§2.15.3.7)
• The doNotExpandShiftReturn setting (§2.15.3.15)
• The doNotLeaveBackslashAlone setting (§2.15.3.16)
• The spaceForUL setting (§2.15.3.43)
• The ulTrailSpace setting (§2.15.3.55)
[Example: Consider a WordprocessingML document with a series of compatibility settings:
<w:settings>
<w:compat>
…
</w:compat>
</w:settings>
The compat element specifies the set of compatibility settings for a document. end example]
Parent Elements |
settings (§2.15.1.78) |
Child Elements |
Subclause |
adjustLineHeightInTable (Add Document Grid Line Pitch To Lines in Table Cells) |
§2.15.3.1 |
alignTablesRowByRow (Align Table Rows Independently) |
§2.15.3.2 |
allowSpaceOfSameStyleInTable (Allow Contextual Spacing of Paragraphs in Tables) |
§2.15.3.3 |
applyBreakingRules (Use Legacy Ethiopic and Amharic Line Breaking Rules) |
§2.15.3.4 |
autofitToFirstFixedWidthCell (Allow Table Columns To Exceed Preferred Widths of Constituent Cells) |
§2.15.3.5 |
autoSpaceLikeWord95 (Emulate Word 95 Full-Width Character Spacing) |
§2.15.3.6 |
balanceSingleByteDoubleByteWidth (Balance Single Byte and Double Byte Characters) |
§2.15.3.7 |
cachedColBalance (Use Cached Paragraph Information for Column Balancing) |
§2.15.3.8 |
convMailMergeEsc (Treat Backslash Quotation Delimiter as Two Quotation Marks) |
§2.15.3.10 |
displayHangulFixedWidth (Always Use Fixed Width for Hangul Characters) |
§2.15.3.11 |
doNotAutofitConstrainedTables (Do Not AutoFit Tables To Fit Next To Wrapped Objects) |
§2.15.3.12 |
doNotBreakConstrainedForcedTable (Don't Break Table Rows Around Floating Tables) |
§2.15.3.13 |
doNotBreakWrappedTables (Do Not Allow Floating Tables To Break Across Pages) |
§2.15.3.14 |
doNotExpandShiftReturn (Don't Justify Lines Ending in Soft Line Break) |
§2.15.3.15 |
doNotLeaveBackslashAlone (Convert Backslash To Yen Sign When Entered) |
§2.15.3.16 |
doNotSnapToGridInCell (Do Not Snap to Document Grid in Table Cells with Objects) |
§2.15.3.17 |
doNotSuppressIndentation (Do Not Ignore Floating Objects When Calculating Paragraph Indentation) |
§2.15.3.18 |
doNotSuppressParagraphBorders (Do Not Suppress Paragraph Borders Next To Frames) |
§2.15.3.19 |
doNotUseEastAsianBreakRules (Do Not Compress Compressible Characters When Using Document Grid) |
§2.15.3.20 |
doNotUseHTMLParagraphAutoSpacing (Use Fixed Paragraph Spacing for HTML Auto Setting) |
§2.15.3.21 |
doNotUseIndentAsNumberingTabStop (Ignore Hanging Indent When Creating Tab Stop After Numbering) |
§2.15.3.22 |
doNotVertAlignCellWithSp (Don't Vertically Align Cells Containing Floating Objects) |
§2.15.3.23 |
doNotVertAlignInTxbx (Ignore Vertical Alignment in Textboxes) |
§2.15.3.24 |
doNotWrapTextWithPunct (Do Not Allow Hanging Punctuation With Character Grid) |
§2.15.3.25 |
footnoteLayoutLikeWW8 (Emulate Word 6.x/95/97 Footnote Placement) |
§2.15.3.26 |
forgetLastTabAlignment (Ignore Width of Last Tab Stop When Aligning Paragraph If It Is Not Left Aligned) |
§2.15.3.27 |
growAutofit (Allow Tables to AutoFit Into Page Margins) |
§2.15.3.28 |
layoutRawTableWidth (Ignore Space Before Table When Deciding If Table Should Wrap Floating Object) |
§2.15.3.29 |
layoutTableRowsApart (Allow Table Rows to Wrap Inline Objects Independently) |
§2.15.3.30 |
lineWrapLikeWord6 (Emulate Word 6.0 Line Wrapping for East Asian Text) |
§2.15.3.31 |
mwSmallCaps (Emulate Word 5.x for the Macintosh Small Caps Formatting) |
§2.15.3.32 |
noColumnBalance (Do Not Balance Text Columns within a Section) |
§2.15.3.33 |
noExtraLineSpacing (Do Not Center Content on Lines With Exact Line Height) |
§2.15.3.34 |
noLeading (Do Not Add Leading Between Lines of Text) |
§2.15.3.35 |
noSpaceRaiseLower (Do Not Increase Line Height for Raised/Lowered Text) |
§2.15.3.36 |
noTabHangInd (Do Not Create Custom Tab Stop for Hanging Indent) |
§2.15.3.37 |
printBodyTextBeforeHeader (Print Body Text before Header/Footer Contents) |
§2.15.3.38 |
printColBlack (Print Colors as Black And White without Dithering) |
§2.15.3.39 |
selectFldWithFirstOrLastChar (Select Field When First or Last Character Is Selected) |
§2.15.3.40 |
shapeLayoutLikeWW8 (Emulate Word 97 Text Wrapping Around Floating Objects) |
§2.15.3.41 |
showBreaksInFrames (Display Page/Column Breaks Present in Frames) |
§2.15.3.42 |
spaceForUL (Add Additional Space Below Baseline For Underlined East Asian Text) |
§2.15.3.43 |
spacingInWholePoints (Only Expand/Condense Text By Whole Points) |
§2.15.3.44 |
splitPgBreakAndParaMark (Always Move Paragraph Mark to Page after a Page Break) |
§2.15.3.45 |
subFontBySize (Increase Priority Of Font Size During Font Substitution) |
§2.15.3.46 |
suppressBottomSpacing (Ignore Exact Line Height for Last Line on Page) |
§2.15.3.47 |
suppressSpacingAtTopOfPage (Ignore Minimum Line Height for First Line on Page) |
§2.15.3.48 |
suppressSpBfAfterPgBrk (Do Not Use Space Before On First Line After a Page Break) |
§2.15.3.49 |
suppressTopSpacing (Ignore Minimum and Exact Line Height for First Line on Page) |
§2.15.3.50 |
suppressTopSpacingWP (Emulate WordPerfect 5.x Line Spacing) |
§2.15.3.51 |
swapBordersFacingPages (Swap Paragraph Borders on Odd Numbered Pages) |
§2.15.3.52 |
truncateFontHeightsLikeWP6 (Emulate WordPerfect 6.x Font Height Calculation) |
§2.15.3.53 |
ulTrailSpace (Underline All Trailing Spaces) |
§2.15.3.55 |
underlineTabInNumList (Underline Following Character Following Numbering) |
§2.15.3.56 |
useAltKinsokuLineBreakRules (Use Alternate Set of East Asian Line Breaking Rules) |
§2.15.3.57 |
useAnsiKerningPairs (Use ANSI Kerning Pairs from Fonts) |
§2.15.3.58 |
useFELayout (Do Not Bypass East Asian/Complex Script Layout Code) |
§2.15.3.59 |
useNormalStyleForList (Do Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text) |
§2.15.3.60 |
usePrinterMetrics (Use Printer Metrics To Display Documents) |
§2.15.3.61 |
useSingleBorderforContiguousCells (Use Simplified Rules For Table Border Conflicts) |
§2.15.3.62 |
useWord2002TableStyleRules (Emulate Word 2002 Table Style Rules) |
§2.15.3.63 |
useWord97LineBreakRules (Emulate Word 97 East Asian Line Breaking) |
§2.15.3.64 |
wpJustification (Emulate WordPerfect 6.x Paragraph Justification) |
§2.15.3.65 |
wpSpaceWidth (Space width) |
§2.15.3.66 |
wrapTrailSpaces (Line Wrap Trailing Spaces) |
§2.15.3.67 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Compat">
<sequence>
<element name="useSingleBorderforContiguousCells" type="CT_OnOff" minOccurs="0"/>
<element name="wpJustification" type="CT_OnOff" minOccurs="0"/>
<element name="noTabHangInd" type="CT_OnOff" minOccurs="0"/>
<element name="noLeading" type="CT_OnOff" minOccurs="0"/>
<element name="spaceForUL" type="CT_OnOff" minOccurs="0"/>
<element name="noColumnBalance" type="CT_OnOff" minOccurs="0"/>
<element name="balanceSingleByteDoubleByteWidth" type="CT_OnOff" minOccurs="0"/>
<element name="noExtraLineSpacing" type="CT_OnOff" minOccurs="0"/>
<element name="doNotLeaveBackslashAlone" type="CT_OnOff" minOccurs="0"/>
<element name="ulTrailSpace" type="CT_OnOff" minOccurs="0"/>
<element name="doNotExpandShiftReturn" type="CT_OnOff" minOccurs="0"/>
<element name="spacingInWholePoints" type="CT_OnOff" minOccurs="0"/>
<element name="lineWrapLikeWord6" type="CT_OnOff" minOccurs="0"/>
<element name="printBodyTextBeforeHeader" type="CT_OnOff" minOccurs="0"/>
<element name="printColBlack" type="CT_OnOff" minOccurs="0"/>
<element name="wpSpaceWidth" type="CT_OnOff" minOccurs="0"/>
<element name="showBreaksInFrames" type="CT_OnOff" minOccurs="0"/>
<element name="subFontBySize" type="CT_OnOff" minOccurs="0"/>
<element name="suppressBottomSpacing" type="CT_OnOff" minOccurs="0"/>
<element name="suppressTopSpacing" type="CT_OnOff" minOccurs="0"/>
<element name="suppressSpacingAtTopOfPage" type="CT_OnOff" minOccurs="0"/>
<element name="suppressTopSpacingWP" type="CT_OnOff" minOccurs="0"/>
<element name="suppressSpBfAfterPgBrk" type="CT_OnOff" minOccurs="0"/>
<element name="swapBordersFacingPages" type="CT_OnOff" minOccurs="0"/>
<element name="convMailMergeEsc" type="CT_OnOff" minOccurs="0"/>
<element name="truncateFontHeightsLikeWP6" type="CT_OnOff" minOccurs="0"/>
<element name="mwSmallCaps" type="CT_OnOff" minOccurs="0"/>
<element name="usePrinterMetrics" type="CT_OnOff" minOccurs="0"/>
<element name="doNotSuppressParagraphBorders" type="CT_OnOff" minOccurs="0"/>
<element name="wrapTrailSpaces" type="CT_OnOff" minOccurs="0"/>
<element name="footnoteLayoutLikeWW8" type="CT_OnOff" minOccurs="0"/>
<element name="shapeLayoutLikeWW8" type="CT_OnOff" minOccurs="0"/>
<element name="alignTablesRowByRow" type="CT_OnOff" minOccurs="0"/>
<element name="forgetLastTabAlignment" type="CT_OnOff" minOccurs="0"/>
<element name="adjustLineHeightInTable" type="CT_OnOff" minOccurs="0"/>
<element name="autoSpaceLikeWord95" type="CT_OnOff" minOccurs="0"/>
<element name="noSpaceRaiseLower" type="CT_OnOff" minOccurs="0"/>
<element name="doNotUseHTMLParagraphAutoSpacing" type="CT_OnOff" minOccurs="0"/>
<element name="layoutRawTableWidth" type="CT_OnOff" minOccurs="0"/>
<element name="layoutTableRowsApart" type="CT_OnOff" minOccurs="0"/>
<element name="useWord97LineBreakRules" type="CT_OnOff" minOccurs="0"/>
<element name="doNotBreakWrappedTables" type="CT_OnOff" minOccurs="0"/>
<element name="doNotSnapToGridInCell" type="CT_OnOff" minOccurs="0"/>
<element name="selectFldWithFirstOrLastChar" type="CT_OnOff" minOccurs="0"/>
<element name="applyBreakingRules" type="CT_OnOff" minOccurs="0"/>
<element name="doNotWrapTextWithPunct" type="CT_OnOff" minOccurs="0"/>
<element name="doNotUseEastAsianBreakRules" type="CT_OnOff" minOccurs="0"/>
<element name="useWord2002TableStyleRules" type="CT_OnOff" minOccurs="0"/>
<element name="growAutofit" type="CT_OnOff" minOccurs="0"/>
<element name="useFELayout" type="CT_OnOff" minOccurs="0"/>
<element name="useNormalStyleForList" type="CT_OnOff" minOccurs="0"/>
<element name="doNotUseIndentAsNumberingTabStop" type="CT_OnOff" minOccurs="0"/>
<element name="useAltKinsokuLineBreakRules" type="CT_OnOff" minOccurs="0"/>
<element name="allowSpaceOfSameStyleInTable" type="CT_OnOff" minOccurs="0"/>
<element name="doNotSuppressIndentation" type="CT_OnOff" minOccurs="0"/>
<element name="doNotAutofitConstrainedTables" type="CT_OnOff" minOccurs="0"/>
<element name="autofitToFirstFixedWidthCell" type="CT_OnOff" minOccurs="0"/>
<element name="underlineTabInNumList" type="CT_OnOff" minOccurs="0"/>
<element name="displayHangulFixedWidth" type="CT_OnOff" minOccurs="0"/>
<element name="splitPgBreakAndParaMark" type="CT_OnOff" minOccurs="0"/>
<element name="doNotVertAlignCellWithSp" type="CT_OnOff" minOccurs="0"/>
<element name="doNotBreakConstrainedForcedTable" type="CT_OnOff" minOccurs="0"/>
<element name="doNotVertAlignInTxbx" type="CT_OnOff" minOccurs="0"/>
<element name="useAnsiKerningPairs" type="CT_OnOff" minOccurs="0"/>
<element name="cachedColBalance" type="CT_OnOff" minOccurs="0"/>
</sequence>
</complexType>