次の方法で共有


TableStyleList Class

Table Style List. It is the root element of TableStylesPart.When the object is serialized out as xml, its qualified name is a:tblStyleLst.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Drawing.TableStyleList

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(TableStyleEntry))> _
Public Class TableStyleList _
    Inherits OpenXmlPartRootElement
'使用
Dim instance As TableStyleList
[ChildElementInfoAttribute(typeof(TableStyleEntry))]
public class TableStyleList : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • TableStyleEntry <a:tblStyle>

[ISO/IEC 29500-1 初版]

20.1.4.2.27 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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

TableStyleList Members

DocumentFormat.OpenXml.Drawing Namespace