StyleDefinitionHeader Class

Style Definition Header.When the object is serialized out as xml, its qualified name is dgm:styleDefHdr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Diagrams.StyleDefinitionHeader

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

Syntax

声明
<ChildElementInfoAttribute(GetType(StyleLabelDescription))> _
<ChildElementInfoAttribute(GetType(StyleDisplayCategories))> _
<ChildElementInfoAttribute(GetType(StyleDefinitionTitle))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class StyleDefinitionHeader _
    Inherits OpenXmlCompositeElement
用法
Dim instance As StyleDefinitionHeader
[ChildElementInfoAttribute(typeof(StyleLabelDescription))]
[ChildElementInfoAttribute(typeof(StyleDisplayCategories))]
[ChildElementInfoAttribute(typeof(StyleDefinitionTitle))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class StyleDefinitionHeader : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • StyleDefinitionTitle <dgm:title>

  • StyleLabelDescription <dgm:desc>

  • StyleDisplayCategories <dgm:catLst>

  • ExtensionList <dgm:extLst>

[ISO/IEC 29500-1 第 1 个版本]

21.4.5.8 styleDefHdr (Style Definition Header)

This element specifies header information associated with a style definition. The header information is used by an application to preprocess required data in order to help with possible performance concerns associated with an initial full load of a color transform definition.

[Example: Consider the following example of a styleDefHdr element within DiagramML:

<styleDefHdr uniqueId="urn:quicktyle/3d1">
    <title val="3D" />
    <desc val="" />
    <catLst>
        <cat type="3D" pri="10100" />
    </catLst>
</ styleDefHdr >

In this example we see a style definition header which defines a title and category for a set of style definitions. end example]

Parent Elements

styleDefHdrLst (§21.4.5.9)

Child Elements

Subclause

catLst (Category List)

§21.4.5.2

desc (Style Label Description)

§21.4.5.3

extLst (Extension List)

§21.4.2.13

title (Title)

§21.4.5.11

Attributes

Description

minVer (Minimum Version)

The minimum product version that can support this quick style.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

resId (Resource ID)

This attribute is the id which associates this header to the actual style definition part.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

uniqueId (Unique Style ID)

This attribute defines a unique identifier for the associated style definition.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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

StyleDefinitionHeader Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace