# compat element

Contains compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Word).

## Usage

    <compat />

## Element Information

Element type | compatElt
Namespace | http://schemas.microsoft.com/office/word/2003/wordml
Schema name | XML Document 2003

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
docPr | Represents the document properties.

### Child Elements

Element | Description
--- | ---
origWordTableRules | Specifies whether to combine table borders as is done in Word 5.x for the Macintosh.
wpJustification | Specifies whether to do full justification as is done WordPerfect 6.x for Windows.
noTabHangInd | Specifies not to an add automatic tab stop for a hanging indent.
noLeading | Specifies not to add leading (extra space) between rows of text.
spaceForUL | Specifies to add space for underlines.
noColumnBalance | Specifies not to balance columns for continuous section starts.
balanceSingleByteDoubleByteWidth | Specifies whether to balance the single-byte-character set (SBCS) and the double-byte-character set (DBCS).
transparentMetafiles | Specifies whether to blank the area behind metafile pictures.
noExtraLineSpacing | Specifies whether to center exact line height lines.
doNotLeaveBackslashAlone | Specifies whether to convert backslash characters into yen signs.
ulTrailSpace | Specifies whether to draw an underline on trailing spaces.
doNotExpandShiftReturn | Specifies whether to expand character spaces on the line ending in SHIFT+RETURN.
spacingInWholePoints | Specifies whether to expand or condense spacing by a whole number of points.
lineWrapLikeWord6 | Specifies whether to wrap lines as is done in Word 6.0/95.
printBodyTextBeforeHeader | Specifies whether to print body text before a header or footer.
printColBlack | Specifies whether to print colors as black on noncolor printers.
wpSpaceWidth | Specifies whether to set the width of a space as is done in WordPerfect 5.x.
showBreaksInFrames | Specifies whether to show hard page or column breaks in frames.
subFontBySize | Specifies whether to substitute fonts based on font size.
suppressBottomSpacing | Specifies whether to suppress extra line spacing at bottom of page.
suppressTopSpacing | Specifies whether to suppress extra line spacing at top of page.
suppressTopSpacingMac5 | Specifies whether to suppress extra line spacing at the top of a page as is done in Word 5.x for the Macintosh.
suppressTopSpacingWP | Specifies whether to suppress extra line spacing as is done in WordPerfect 5.x.
suppressSpBfAfterPgBrk | Specifies whether to suppress the space before after a hard page or column break.
swapBordersFacingPages | Specifies whether to swap left and right borders on odd facing pages.
convMailMergeEsc | Specifies whether to treat \ as in mail-merge data sources.
truncateFontHeight | Specifies whether to truncate the font height.
mwSmallCaps | Specifies whether to use larger small caps as is done in Word 5.x for the Macintosh.
usePrinterMetrics | Specifies whether to use printer metrics to lay out the document.
ww6BorderRules | Specifies whether to use the Word 6.0/95 border rules.
wrapTrailSpaces | Specifies whether to wrap trailing spaces to the next line.
footnoteLayoutLikeWW8 | Specifies whether to layout footnotes as is done in Word 6.0/95 and Word 7.0/97.
shapeLayoutLikeWW8 | Specifies whether to shape the layout as is done in Word 7.0/97.
alignTablesRowByRow | Specifies whether to align table rows independently.
forgetLastTabAlignment | Specifies whether to forget last tab alignment
adjustLineHeightInTable | Specifies whether to adjust the line height to the grid height in the table.
autoSpaceLikeWord95 | Specifies whether to auto space as is done in Word 6.0/95.
noSpaceRaiseLower | Specifies whether to add extra space for raised or lowered characters.
doNotUseHTMLParagraphAutoSpacing | Specifies whether to use HTML paragraph auto spacing.
layoutRawTableWidth | Specifies whether to lay out tables with raw width.
layoutTableRowsApart | Specifies whether to allow table rows to lay out apart.
useWord97LineBreakingRules | Specifies whether to use the Word 7.0/97 line-breaking rules for Asian text.
breakWrappedTables | Specifies whether to break wrapped tables across pages.
snapToGridInCell | Specifies whether to snap text to grid inside tables with inline objects.
dontAllowFieldEndSelect | Specifies whether to select an entire field including the first or last character.
applyBreakingRules | Specifies whether to use line-breaking rules.
wrapTextWithPunct | Specifies whether to wrap text with punctuation.
useAsianBreakRules | Specifies whether to use Asian rules for line breaks with the character grid.
useWord2002TableStyleRules | Specifies whether to use the Word 10.0/2002 rules for table styles.
dontGrowAutofit | Specifies whether to autofit tables into the page margins.
useFELayout | Specifies whether to lay out this document to support complex scripts.

### Attributes

None.

## Definition

    <xsd:element name="compat" type="compatElt" minOccurs="0" >
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp