Partager via


Table Class

Defines the Table Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x14:table.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Excel.Table

Namespace:  DocumentFormat.OpenXml.Office2010.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class Table _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Table
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class Table : OpenXmlLeafElement

Remarks

2.4.20 table

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main

A CT_Table element that specifies alternate text properties for the table. See Table Definition under Extensions by Part for how this element integrates with [ISO/IEC-29500-1].

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="table" type="CT_Table"/>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.6.35 CT_Table

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main

Referenced by: table

A complex type that specifies alternate text properties for the table.

Attributes:

altText : An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the alternate text for the table. The string MUST be less than or equal to 25000 characters in length.

altTextSummary : An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the alternate text summary for the table. The string MUST be less than or equal to 50000 characters in length.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Table">

<xsd:attribute name="altText" type="x:ST_Xstring" use="optional"/>

<xsd:attribute name="altTextSummary" type="x:ST_Xstring" use="optional"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

Table Members

DocumentFormat.OpenXml.Office2010.Excel Namespace