Compatibility Members

Include Protected Members
Include Inherited Members

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

The Compatibility type exposes the following members.

Constructors

  Name Description
Public method Compatibility() Initializes a new instance of the Compatibility class.
Public method Compatibility(String) Initializes a new instance of the Compatibility class from outer XML.
Public method Compatibility(array<OpenXmlElement[]) Initializes a new instance of the Compatibility class with the specified child elements.
Public method Compatibility(IEnumerable<OpenXmlElement>) Initializes a new instance of the Compatibility class with the specified child elements.

Top

Properties

  Name Description
Public property AdjustLineHeightInTable Add Document Grid Line Pitch To Lines in Table Cells.Represents the element tag in schema: w:adjustLineHeightInTable
Public property AlignTablesRowByRow Align Table Rows Independently.Represents the element tag in schema: w:alignTablesRowByRow
Public property AllowSpaceOfSameStyleInTable Allow Contextual Spacing of Paragraphs in Tables.Represents the element tag in schema: w:allowSpaceOfSameStyleInTable
Public property ApplyBreakingRules Use Legacy Ethiopic and Amharic Line Breaking Rules.Represents the element tag in schema: w:applyBreakingRules
Public property AutofitToFirstFixedWidthCell Allow Table Columns To Exceed Preferred Widths of Constituent Cells.Represents the element tag in schema: w:autofitToFirstFixedWidthCell
Public property AutoSpaceLikeWord95 Emulate Word 95 Full-Width Character Spacing.Represents the element tag in schema: w:autoSpaceLikeWord95
Public property BalanceSingleByteDoubleByteWidth Balance Single Byte and Double Byte Characters.Represents the element tag in schema: w:balanceSingleByteDoubleByteWidth
Public property CachedColumnBalance Use Cached Paragraph Information for Column Balancing.Represents the element tag in schema: w:cachedColBalance
Public property ChildElements Gets all the child nodes of this element. (Inherited from OpenXmlElement.)
Public property ConvertMailMergeEscape Treat Backslash Quotation Delimiter as Two Quotation Marks.Represents the element tag in schema: w:convMailMergeEsc
Public property DisplayHangulFixedWidth Always Use Fixed Width for Hangul Characters.Represents the element tag in schema: w:displayHangulFixedWidth
Public property DoNotAutofitConstrainedTables Do Not AutoFit Tables To Fit Next To Wrapped Objects.Represents the element tag in schema: w:doNotAutofitConstrainedTables
Public property DoNotBreakConstrainedForcedTable Don't Break Table Rows Around Floating Tables.Represents the element tag in schema: w:doNotBreakConstrainedForcedTable
Public property DoNotBreakWrappedTables Do Not Allow Floating Tables To Break Across Pages.Represents the element tag in schema: w:doNotBreakWrappedTables
Public property DoNotExpandShiftReturn Don't Justify Lines Ending in Soft Line Break.Represents the element tag in schema: w:doNotExpandShiftReturn
Public property DoNotLeaveBackslashAlone Convert Backslash To Yen Sign When Entered.Represents the element tag in schema: w:doNotLeaveBackslashAlone
Public property DoNotSnapToGridInCell Do Not Snap to Document Grid in Table Cells with Objects.Represents the element tag in schema: w:doNotSnapToGridInCell
Public property DoNotSuppressIndentation Do Not Ignore Floating Objects When Calculating Paragraph Indentation.Represents the element tag in schema: w:doNotSuppressIndentation
Public property DoNotSuppressParagraphBorders Do Not Suppress Paragraph Borders Next To Frames.Represents the element tag in schema: w:doNotSuppressParagraphBorders
Public property DoNotUseEastAsianBreakRules Do Not Compress Compressible Characters When Using Document Grid.Represents the element tag in schema: w:doNotUseEastAsianBreakRules
Public property DoNotUseHTMLParagraphAutoSpacing Use Fixed Paragraph Spacing for HTML Auto Setting.Represents the element tag in schema: w:doNotUseHTMLParagraphAutoSpacing
Public property DoNotUseIndentAsNumberingTabStop Ignore Hanging Indent When Creating Tab Stop After Numbering.Represents the element tag in schema: w:doNotUseIndentAsNumberingTabStop
Public property DoNotVerticallyAlignCellWithShape Don't Vertically Align Cells Containing Floating Objects.Represents the element tag in schema: w:doNotVertAlignCellWithSp
Public property DoNotVerticallyAlignInTextBox Ignore Vertical Alignment in Textboxes.Represents the element tag in schema: w:doNotVertAlignInTxbx
Public property DoNotWrapTextWithPunctuation Do Not Allow Hanging Punctuation With Character Grid.Represents the element tag in schema: w:doNotWrapTextWithPunct
Public property ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element. (Inherited from OpenXmlElement.)
Public property FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property FootnoteLayoutLikeWord8 Emulate Word 6.x/95/97 Footnote Placement.Represents the element tag in schema: w:footnoteLayoutLikeWW8
Public property ForgetLastTabAlignment Ignore Width of Last Tab Stop When Aligning Paragraph If It Is Not Left Aligned.Represents the element tag in schema: w:forgetLastTabAlignment
Public property GrowAutofit Allow Tables to AutoFit Into Page Margins.Represents the element tag in schema: w:growAutofit
Public property HasAttributes Gets a boolean value indicating whether the current element has any attributes. (Inherited from OpenXmlElement.)
Public property HasChildren Gets a value indicating whether this element has any child elements. (Inherited from OpenXmlCompositeElement.)
Public property InnerText Gets or sets the concatenated values of the node and all its children. (Inherited from OpenXmlCompositeElement.)
Public property InnerXml Gets or sets the markup representing only the child nodes of this node. (Inherited from OpenXmlCompositeElement.)
Public property LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property LayoutRawTableWidth Ignore Space Before Table When Deciding If Table Should Wrap Floating Object.Represents the element tag in schema: w:layoutRawTableWidth
Public property LayoutTableRowsApart Allow Table Rows to Wrap Inline Objects Independently.Represents the element tag in schema: w:layoutTableRowsApart
Public property LineWrapLikeWord6 Emulate Word 6.0 Line Wrapping for East Asian Text.Represents the element tag in schema: w:lineWrapLikeWord6
Public property LocalName Gets the local name of the element. (Overrides OpenXmlElement.LocalName.)
Public property MacWordSmallCaps Emulate Word 5.x for the Macintosh Small Caps Formatting.Represents the element tag in schema: w:mwSmallCaps
Public property MCAttributes Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Inherited from OpenXmlElement.)
Public property NamespaceDeclarations Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Inherited from OpenXmlElement.)
Public property NamespaceUri Gets the namespace URI of this node. (Inherited from OpenXmlElement.)
Public property NoColumnBalance Do Not Balance Text Columns within a Section.Represents the element tag in schema: w:noColumnBalance
Public property NoExtraLineSpacing Do Not Center Content on Lines With Exact Line Height.Represents the element tag in schema: w:noExtraLineSpacing
Public property NoLeading Do Not Add Leading Between Lines of Text.Represents the element tag in schema: w:noLeading
Public property NoSpaceRaiseLower Do Not Increase Line Height for Raised/Lowered Text.Represents the element tag in schema: w:noSpaceRaiseLower
Public property NoTabHangIndent Do Not Create Custom Tab Stop for Hanging Indent.Represents the element tag in schema: w:noTabHangInd
Public property OpenXmlElementContext Gets the OpenXmlEementContext. (Inherited from OpenXmlElement.)
Public property OuterXml Gets the markup representing this element and all its child elements. (Inherited from OpenXmlElement.)
Public property Parent Gets the parent of this element. (Inherited from OpenXmlElement.)
Public property Prefix Gets the namespace prefix of this node. (Inherited from OpenXmlElement.)
Public property PrintBodyTextBeforeHeader Print Body Text before Header/Footer Contents.Represents the element tag in schema: w:printBodyTextBeforeHeader
Public property PrintColorBlackWhite Print Colors as Black And White without Dithering.Represents the element tag in schema: w:printColBlack
Public property SelectFieldWithFirstOrLastChar Select Field When First or Last Character Is Selected.Represents the element tag in schema: w:selectFldWithFirstOrLastChar
Public property ShapeLayoutLikeWord8 Emulate Word 97 Text Wrapping Around Floating Objects.Represents the element tag in schema: w:shapeLayoutLikeWW8
Public property ShowBreaksInFrames Display Page/Column Breaks Present in Frames.Represents the element tag in schema: w:showBreaksInFrames
Public property SpaceForUnderline Add Additional Space Below Baseline For Underlined East Asian Text.Represents the element tag in schema: w:spaceForUL
Public property SpacingInWholePoints Only Expand/Condense Text By Whole Points.Represents the element tag in schema: w:spacingInWholePoints
Public property SplitPageBreakAndParagraphMark Always Move Paragraph Mark to Page after a Page Break.Represents the element tag in schema: w:splitPgBreakAndParaMark
Public property SubFontBySize Increase Priority Of Font Size During Font Substitution.Represents the element tag in schema: w:subFontBySize
Public property SuppressBottomSpacing Ignore Exact Line Height for Last Line on Page.Represents the element tag in schema: w:suppressBottomSpacing
Public property SuppressSpacingAtTopOfPage Ignore Minimum Line Height for First Line on Page.Represents the element tag in schema: w:suppressSpacingAtTopOfPage
Public property SuppressSpacingBeforeAfterPageBreak Do Not Use Space Before On First Line After a Page Break.Represents the element tag in schema: w:suppressSpBfAfterPgBrk
Public property SuppressTopSpacing Ignore Minimum and Exact Line Height for First Line on Page.Represents the element tag in schema: w:suppressTopSpacing
Public property SuppressTopSpacingWordPerfect Emulate WordPerfect 5.x Line Spacing.Represents the element tag in schema: w:suppressTopSpacingWP
Public property SwapBordersFacingPages Swap Paragraph Borders on Odd Numbered Pages.Represents the element tag in schema: w:swapBordersFacingPages
Public property TruncateFontHeightsLikeWordPerfect Emulate WordPerfect 6.x Font Height Calculation.Represents the element tag in schema: w:truncateFontHeightsLikeWP6
Public property UnderlineTabInNumberingList Underline Following Character Following Numbering.Represents the element tag in schema: w:underlineTabInNumList
Public property UnderlineTrailingSpaces Underline All Trailing Spaces.Represents the element tag in schema: w:ulTrailSpace
Public property UseAltKinsokuLineBreakRules Use Alternate Set of East Asian Line Breaking Rules.Represents the element tag in schema: w:useAltKinsokuLineBreakRules
Public property UseAnsiKerningPairs Use ANSI Kerning Pairs from Fonts.Represents the element tag in schema: w:useAnsiKerningPairs
Public property UseFarEastLayout Do Not Bypass East Asian/Complex Script Layout Code.Represents the element tag in schema: w:useFELayout
Public property UseNormalStyleForList Do Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text.Represents the element tag in schema: w:useNormalStyleForList
Public property UsePrinterMetrics Use Printer Metrics To Display Documents.Represents the element tag in schema: w:usePrinterMetrics
Public property UseSingleBorderForContiguousCells Use Simplified Rules For Table Border Conflicts.Represents the element tag in schema: w:useSingleBorderforContiguousCells
Public property UseWord2002TableStyleRules Emulate Word 2002 Table Style Rules.Represents the element tag in schema: w:useWord2002TableStyleRules
Public property UseWord97LineBreakRules Emulate Word 97 East Asian Line Breaking.Represents the element tag in schema: w:useWord97LineBreakRules
Public property WordPerfectJustification Emulate WordPerfect 6.x Paragraph Justification.Represents the element tag in schema: w:wpJustification
Public property WordPerfectSpaceWidth Space width.Represents the element tag in schema: w:wpSpaceWidth
Public property WrapTrailSpaces Line Wrap Trailing Spaces.Represents the element tag in schema: w:wrapTrailSpaces
Public property XmlQualifiedName Gets the qualified name of the node. (Inherited from OpenXmlElement.)

Top

Methods

  Name Description
Public method AddAnnotation Adds an object to the annotation list of this OpenXmlElement. (Inherited from OpenXmlElement.)
Public method AddNamespaceDeclaration Adds a namepace declaration to the current node. (Inherited from OpenXmlElement.)
Public method Ancestors() Enumerate all the ancestor nodes of this element. (Inherited from OpenXmlElement.)
Public method Annotation(Type) Get the first annotation object of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.)
Public method Annotation<T>() Get the first annotation object of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.)
Public method Annotations(Type) Gets a collection of annotations of the specified type for this OpenXmlElement. (Inherited from OpenXmlElement.)
Public method Annotations<T>() Gets a collection of annotations of the specified type for this OpenXmlElement. (Inherited from OpenXmlElement.)
Public method Append(array<OpenXmlElement[]) Adds the elements to the end of the list of child nodes, of this element. (Inherited from OpenXmlElement.)
Public method Append(IEnumerable<OpenXmlElement>) Adds the elements to the end of the list of child nodes, of this element. (Inherited from OpenXmlElement.)
Public method AppendChild<T>(T) Adds the specified element to the end of the list of child nodes, of this element. (Inherited from OpenXmlCompositeElement.)
Public method AppendChild<T>(T) Adds the specified element to the end of the list of child nodes, of this element. (Inherited from OpenXmlElement.)
Public method ClearAllAttributes Clear all the attributes ( known attributes + extended attributes ) (Inherited from OpenXmlElement.)
Public method Clone Creates a duplicate of this node. (Inherited from OpenXmlElement.)
Public method CloneNode Creates a duplicate of this node. (Overrides OpenXmlElement.CloneNode(Boolean).)
Public method Descendants<T>() Enumerate all the descendants elements (which type is T) of this element. Preorder traversering. (Inherited from OpenXmlElement.)
Public method Elements<T>() Enumerate for specific type of elements in child elements (Inherited from OpenXmlElement.)
Public method ElementsAfter Enumerate all the sibling elements after this element in same parent. (Inherited from OpenXmlElement.)
Public method ElementsBefore Enumerate all the sibling elements before this element in same parent. (Inherited from OpenXmlElement.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAttribute Gets a Open XML attribute with the specifed tag name and namespace URI. (Inherited from OpenXmlElement.)
Public method GetAttributes Get a copy of all the attributes (Inherited from OpenXmlElement.)
Public method GetEnumerator Returns an enumerator that iterates through the child collection. (Inherited from OpenXmlElement.)
Public method GetFirstChild<T> Find the first child element in type T (Inherited from OpenXmlElement.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method InsertAfter<T>(T, OpenXmlElement) Inserts the specified element immediately after the specified reference element. (Inherited from OpenXmlCompositeElement.)
Public method InsertAfter<T>(T, OpenXmlElement) Inserts the specified element immediately after the specified reference element. (Inherited from OpenXmlElement.)
Public method InsertAfterSelf<T> Inserts the specified element immediately after this element. (Inherited from OpenXmlElement.)
Public method InsertAt<T>(T, Int32) Inserts the specified element at the specified index in children. (Inherited from OpenXmlCompositeElement.)
Public method InsertAt<T>(T, Int32) Inserts the specified element at the specified index in children. (Inherited from OpenXmlElement.)
Public method InsertBefore<T>(T, OpenXmlElement) Inserts the specified element immediately before the specified reference element. (Inherited from OpenXmlCompositeElement.)
Public method InsertBefore<T>(T, OpenXmlElement) Inserts the specified element immediately before the specified reference element. (Inherited from OpenXmlElement.)
Public method InsertBeforeSelf<T> Inserts the specified element immediately before this element. (Inherited from OpenXmlElement.)
Public method IsAfter Determines if the current element appears after a specified element in document order. (Inherited from OpenXmlElement.)
Public method IsBefore Determines if the current element appears before a specified element in document order. (Inherited from OpenXmlElement.)
Public method LookupNamespace Resolve the namespace prefix in the context of current node (Inherited from OpenXmlElement.)
Public method LookupPrefix Finds the corresponding prefix for a namespace uri in the current element scope. (Inherited from OpenXmlElement.)
Protected method MemberwiseClone (Inherited from Object.)
Public method NextSibling() Gets the OpenXmlElement immediately following this OpenXmlElement. If there is no next OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlElement.)
Public method PrependChild<T>(T) Adds the specified element to the beginning of the list of child nodes for this element. (Inherited from OpenXmlCompositeElement.)
Public method PrependChild<T>(T) Adds the specified element to the beginning of the list of child nodes for this element. (Inherited from OpenXmlElement.)
Public method PreviousSibling() Gets the OpenXmlElement immediately preceding this OpenXmlElement. If there is no such preceding OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlElement.)
Public method Remove Removes this element from its parent. (Inherited from OpenXmlElement.)
Public method RemoveAllChildren Remove all the child elements (Inherited from OpenXmlCompositeElement.)
Public method RemoveAnnotations(Type) Removes the annotations of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.)
Public method RemoveAnnotations<T>() Removes the annotations of the specified type from this OpenXmlElement. (Inherited from OpenXmlElement.)
Public method RemoveAttribute Remove the attribute from the element. (Inherited from OpenXmlElement.)
Public method RemoveChild<T>(T) Removes specified child element. (Inherited from OpenXmlCompositeElement.)
Public method RemoveChild<T>(T) Removes specified child element. (Inherited from OpenXmlElement.)
Public method RemoveNamespaceDeclaration Removes namespace declaration for a specific prefix. do nothing if the prefix is not existed. (Inherited from OpenXmlElement.)
Public method ReplaceChild<T>(OpenXmlElement, T) Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Inherited from OpenXmlCompositeElement.)
Public method ReplaceChild<T>(OpenXmlElement, T) Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Inherited from OpenXmlElement.)
Public method SetAttribute Set an attribute to the element. If the attribute is a known attribute, the value of the attribute is set. If the attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Inherited from OpenXmlElement.)
Public method SetAttributes Set a bunch of attributes to the element. If a attribute is a known attribute, the value of the attribute is set. If a attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Inherited from OpenXmlElement.)
Public method ToString (Inherited from Object.)
Public method WriteTo Saves the current node to the specified XmlWriter. (Inherited from OpenXmlElement.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from OpenXmlElement.)

Top

See Also

Reference

Compatibility Class

DocumentFormat.OpenXml.Wordprocessing Namespace