TableOverlap class

Office 2013 and later

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

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

public class TableOverlap : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

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:

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

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

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

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 (§; tblPr (§



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.

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