TableStyleList class
Table Style List. The root element of TableStylesPart. When the object is serialized out as xml, its qualified name is a:tblStyleLst.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Drawing.TableStyleList
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
tblStyleLst (Table Style List)
This element is simply a list of table styles which are used within a document.
[Example: Consider the following example of a table style list within DrawingML:
<tblStyleLst def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}">
<tblStyle styleId="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}" styleName="Medium Style 2 - Accent 1">
… </tblStyle>
<tblStyle styleId="{3C2FFA5D-87B4-456A-9821-1D502468CF0F}" styleName="Themed Style 1 - Accent 1">
… </tblStyle>
</tblStyleLst>In this example, we see two table styles defined along with the default being specified. end example]
Parent Elements |
|---|
Root element of DrawingML Table Styles part |
Child Elements | Subclause |
|---|---|
tblStyle (Table Style) | §20.1.4.2.26 |
Attributes | Description |
|---|---|
def (Default) | The GUID corresponding to the default table style in the list of table styles. This default can be used when a table is initially inserted into a document. The possible values for this attribute are defined by the ST_Guid simple type (§22.9.2.4). |
[Note: The W3C XML Schema definition of this element’s content model (CT_TableStyleList) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.