Cet article a fait l’objet d’une traduction automatique. Pour afficher l’article en anglais, activez la case d’option Anglais. Vous pouvez également afficher le texte anglais dans une fenêtre contextuelle en faisant glisser le pointeur de la souris sur le texte traduit.
Traduction
Anglais

Compatibility - Classe

Office 2013 et versions ultérieures

Cette documentation est préliminaire et peut changer.

Compatibility Settings. When the object is serialized out as xml, its qualified name is w:compat.

Espace de noms :  DocumentFormat.OpenXml.Wordprocessing
Assembly :  DocumentFormat.OpenXml (dans DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(ConvertMailMergeEscape))]
[ChildElementInfoAttribute(typeof(AutoSpaceLikeWord95))]
[ChildElementInfoAttribute(typeof(NoSpaceRaiseLower))]
[ChildElementInfoAttribute(typeof(LayoutTableRowsApart))]
[ChildElementInfoAttribute(typeof(UseWord97LineBreakRules))]
[ChildElementInfoAttribute(typeof(UseSingleBorderForContiguousCells))]
[ChildElementInfoAttribute(typeof(WordPerfectJustification))]
[ChildElementInfoAttribute(typeof(NoTabHangIndent))]
[ChildElementInfoAttribute(typeof(NoLeading))]
[ChildElementInfoAttribute(typeof(SpaceForUnderline))]
[ChildElementInfoAttribute(typeof(NoColumnBalance))]
[ChildElementInfoAttribute(typeof(BalanceSingleByteDoubleByteWidth))]
[ChildElementInfoAttribute(typeof(NoExtraLineSpacing))]
[ChildElementInfoAttribute(typeof(DoNotLeaveBackslashAlone))]
[ChildElementInfoAttribute(typeof(UnderlineTrailingSpaces))]
[ChildElementInfoAttribute(typeof(DoNotExpandShiftReturn))]
[ChildElementInfoAttribute(typeof(SpacingInWholePoints))]
[ChildElementInfoAttribute(typeof(LineWrapLikeWord6))]
[ChildElementInfoAttribute(typeof(PrintBodyTextBeforeHeader))]
[ChildElementInfoAttribute(typeof(PrintColorBlackWhite))]
[ChildElementInfoAttribute(typeof(WordPerfectSpaceWidth))]
[ChildElementInfoAttribute(typeof(ShowBreaksInFrames))]
[ChildElementInfoAttribute(typeof(SubFontBySize))]
[ChildElementInfoAttribute(typeof(SuppressBottomSpacing))]
[ChildElementInfoAttribute(typeof(SuppressTopSpacing))]
[ChildElementInfoAttribute(typeof(SuppressSpacingAtTopOfPage))]
[ChildElementInfoAttribute(typeof(SuppressTopSpacingWordPerfect))]
[ChildElementInfoAttribute(typeof(SuppressSpacingBeforeAfterPageBreak))]
[ChildElementInfoAttribute(typeof(SwapBordersFacingPages))]
[ChildElementInfoAttribute(typeof(TruncateFontHeightsLikeWordPerfect))]
[ChildElementInfoAttribute(typeof(MacWordSmallCaps))]
[ChildElementInfoAttribute(typeof(UsePrinterMetrics))]
[ChildElementInfoAttribute(typeof(DoNotSuppressParagraphBorders))]
[ChildElementInfoAttribute(typeof(WrapTrailSpaces))]
[ChildElementInfoAttribute(typeof(FootnoteLayoutLikeWord8))]
[ChildElementInfoAttribute(typeof(ShapeLayoutLikeWord8))]
[ChildElementInfoAttribute(typeof(AlignTablesRowByRow))]
[ChildElementInfoAttribute(typeof(ForgetLastTabAlignment))]
[ChildElementInfoAttribute(typeof(AdjustLineHeightInTable))]
[ChildElementInfoAttribute(typeof(DoNotUseHTMLParagraphAutoSpacing))]
[ChildElementInfoAttribute(typeof(LayoutRawTableWidth))]
[ChildElementInfoAttribute(typeof(DoNotBreakWrappedTables))]
[ChildElementInfoAttribute(typeof(DoNotSnapToGridInCell))]
[ChildElementInfoAttribute(typeof(SelectFieldWithFirstOrLastChar))]
[ChildElementInfoAttribute(typeof(ApplyBreakingRules))]
[ChildElementInfoAttribute(typeof(DoNotWrapTextWithPunctuation))]
[ChildElementInfoAttribute(typeof(DoNotUseEastAsianBreakRules))]
[ChildElementInfoAttribute(typeof(UseWord2002TableStyleRules))]
[ChildElementInfoAttribute(typeof(GrowAutofit))]
[ChildElementInfoAttribute(typeof(UseFarEastLayout))]
[ChildElementInfoAttribute(typeof(UseNormalStyleForList))]
[ChildElementInfoAttribute(typeof(DoNotUseIndentAsNumberingTabStop))]
[ChildElementInfoAttribute(typeof(UseAltKinsokuLineBreakRules))]
[ChildElementInfoAttribute(typeof(AllowSpaceOfSameStyleInTable))]
[ChildElementInfoAttribute(typeof(DoNotSuppressIndentation))]
[ChildElementInfoAttribute(typeof(DoNotAutofitConstrainedTables))]
[ChildElementInfoAttribute(typeof(AutofitToFirstFixedWidthCell))]
[ChildElementInfoAttribute(typeof(UnderlineTabInNumberingList))]
[ChildElementInfoAttribute(typeof(DisplayHangulFixedWidth))]
[ChildElementInfoAttribute(typeof(SplitPageBreakAndParagraphMark))]
[ChildElementInfoAttribute(typeof(DoNotVerticallyAlignCellWithShape))]
[ChildElementInfoAttribute(typeof(DoNotBreakConstrainedForcedTable))]
[ChildElementInfoAttribute(typeof(DoNotVerticallyAlignInTextBox))]
[ChildElementInfoAttribute(typeof(UseAnsiKerningPairs))]
[ChildElementInfoAttribute(typeof(CachedColumnBalance))]
[ChildElementInfoAttribute(typeof(CompatibilitySetting))]
public class Compatibility : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

compat (Compatibility Settings)

This element specifies a set of optional compatibility options for the current document.

[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]

Éléments parents

settings (§17.15.1.78)

Élements enfants

Subclause

adjustLineHeightInTable (Add Document Grid Line Pitch To Lines in Table Cells)

§17.15.3.1

applyBreakingRules (Use Legacy Ethiopic and Amharic Line Breaking Rules)

§17.15.3.2

balanceSingleByteDoubleByteWidth (Balance Single Byte and Double Byte Characters)

§17.15.3.3

compatSetting (Custom Compatibility Setting)

§17.15.3.4

doNotExpandShiftReturn (Don't Justify Lines Ending in Soft Line Break)

§17.15.3.5

doNotLeaveBackslashAlone (Display Backslash As Yen Sign)

§17.15.3.6

spaceForUL (Add Additional Space Below Baseline For Underlined East Asian Text)

§17.15.3.7

ulTrailSpace (Underline All Trailing Spaces)

§17.15.3.8

[Note: The W3C XML Schema definition of this element’s content model (CT_Compat) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.
Afficher: