Share via


TableOverlap Class

Defines the TableOverlap Class.When the object is serialized out as xml, its qualified name is w:tblOverlap.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.TableOverlap

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class TableOverlap _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As TableOverlap
public class TableOverlap : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

17.4.57 tblOverlap (Floating Table Allows Other Tables to Overlap)

This element specifies whether the current table shall allow other floating tables to overlap its extents when the tables are displayed in a document. If specified, then no adjustment shall be made to prevent tables whose properties would normally cause them to overlap from overlapping when displayed. If turned off, then the tables shall be adjusted as needed to prevent them from overlapping when displayed by adjusting the floating table properties as needed.

If this element is omitted on a given table, then this table shall allow other tables to overlap when displayed. If the parent table is not floating via the tblpPr element (§17.4.58), then this element shall be ignored.

[Example: Consider two floating tables in a WordprocessingML document which overlap when displayed, as follows:

DocumentFormat.OpenXml.Wordprocessing.TableOverlap

If either of these tables specifies that it must not allow overlapping, using the following WordprocessingML:

<w:tblPr>
<w:tblOverlap w:val="never"/>
</w:tblPr>

The resulting tables must not overlap, and must be adjusted at display time to prevent any overlapping, for example:

DocumentFormat.OpenXml.Wordprocessing.TableOverlap

The tblOverlap element with a value of never specifies that the specified table cannot overlap with other floating tables in the document. end example]

Parent Elements

tblPr (§17.4.60); tblPr (§17.4.59); tblPr (§17.7.6.4); tblPr (§17.7.6.3)

Attributes

Description

val (Floating Table Overlap Setting)

Specifies whether a floating table shall allow other floating tables in the document to overlap its extents when displayed.

[Example: The following WordprocessingML specifies that the table is not allowed to overlap:

<w:tblOverlap w:val="never" />

end example]

The possible values for this attribute are defined by the ST_TblOverlap simple type (§17.18.88).

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

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TableOverlap Members

DocumentFormat.OpenXml.Wordprocessing Namespace