Compartilhar via


LayoutDefinitionHeader Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CategoryList))> _
<ChildElementInfoAttribute(GetType(Description))> _
<ChildElementInfoAttribute(GetType(Title))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class LayoutDefinitionHeader _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As LayoutDefinitionHeader
[ChildElementInfoAttribute(typeof(CategoryList))]
[ChildElementInfoAttribute(typeof(Description))]
[ChildElementInfoAttribute(typeof(Title))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class LayoutDefinitionHeader : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Title <dgm:title>

  • Description <dgm:desc>

  • CategoryList <dgm:catLst>

  • ExtensionList <dgm:extLst>

[ISO/IEC 29500-1 1st Edition]

21.4.2.17 layoutDefHdr (Layout Definition Header)

This element is the header information representing the minimum knowledge needed by an application to preload information about a layout definition. This preloading allows for the actual load of the layout definition to occur at a later time which helps with any performance concerns an application might have.

[Example: Consider the following example of a layoutDefHdr within a DrawingML diagram:

<layoutDefHdr uniqueId="urn:layout/default">
    <title val="Basic Block List" />
    <desc val="" />
    <catLst>
        <cat type="list" pri="1000" />
    </catLst>
</layoutDefHdr>

In this example we define a title along with a category and prioritization for the diagram referenced by the uniqueId of urn:layout:default. end example]

Parent Elements

layoutDefHdrLst (§21.4.2.18)

Child Elements

Subclause

catLst (Category List)

§21.4.2.5

desc (Description)

§21.4.2.11

extLst (Extension List)

§21.4.2.13

title (Title)

§21.4.2.30

Attributes

Description

defStyle (Default Style)

This attribute defines a reference to a default style which is to be applied to the diagram.

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

minVer (Minimum Version)

Minimum product version that can support this Diagram Layout.

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

resId (Resource Identifier)

Resource ID used internally.

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

uniqueId (Unique Identifier)

The unique identifier for this layout 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_DiagramDefinitionHeader) is located in §A.5.3. end note]

© ISO/IEC29500: 2008.

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

LayoutDefinitionHeader Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace