<styleDef> (Style Definition)

This element is the root tag for a style definition.

example:
<dgm:styleDef xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/3/diagram" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/3/main" uniqueId="urn:microsoft.com/office/officeart/2005/8/quickstyle/3d1" minVer="12.0">
	<dgm:title lang="" val="3-D Style 1"/>
	<dgm:desc lang="" val="3-D Style 1"/>
	<dgm:catLst>
	<dgm:cat type="3D" pri="11100"/>
	</dgm:catLst>
	<dgm:scene3d>
	<a:camera prst="orthographicFront"/>
	<a:lightRig rig="threePt" dir="t"/>
	</dgm:scene3d>
	<dgm:style>
                    ...
	</dgm:style>
	<dgm:styleLbl name="node0">
	<dgm:scene3d>
	<a:camera prst="orthographicFront"/>
	<a:lightRig rig="flat" dir="t"/>
	</dgm:scene3d>
	<dgm:sp3d prstMaterial="flat">
	<a:bevelT w="120900" h="88900"/>
	<a:bevelB w="88900" h="31750" prst="angle"/>
	</dgm:sp3d>
	<dgm:txPr/>
	<dgm:style>
	<a:lnRef idx="0">
	<a:scrgbClr r="0" g="0" b="0"/>
	</a:lnRef>
	<a:fillRef idx="3">
	<a:scrgbClr r="0" g="0" b="0"/>
	</a:fillRef>
	<a:effectRef idx="2">
	<a:scrgbClr r="0" g="0" b="0"/>
	</a:effectRef>
	<a:fontRef idx="minor">
	<a:schemeClr val="lt1"/>
	</a:fontRef>
	</dgm:style>
	</dgm:styleLbl>
...
</styleDef>

In this example we see a <styleDef> being defined along with many properties. ]

Parent Elements

Root element of DrawingML Diagram Style part

Child Elements

Subclause

<catLst> (Category List)

§5.9.5.2

<desc> (Style Label Description)

§5.9.5.3

<extLst> (Extension List)

§5.9.2.13

<scene3d> (3-D Scene)

§5.9.5.5

<styleLbl> (Style Label)

§5.9.5.10

<title> (Title)

§5.9.5.11

Attributes

Description

<minVer> (Minimum Version)

The minimum product version that can support this quick style.

<styleDef uniqueId="urn:quickstyle/3d1" minVer="12.0">

...

</styleDef>

In this example we see the minVer defined to be 12.0. ]

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

<uniqueId> (Unique Style ID)

Unique ID that identifies a style.

<styleDef uniqueId="urn:quickstyle/3d1" minVer="12.0">

...

</styleDef>

In this example we see the uniqueId defined to be urn:quickstyle/3d1. ]

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

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_StyleDefinition">
	<sequence>
	<element name="title" type="CT_SDName" minOccurs="0" maxOccurs="unbounded"/>
	<element name="desc" type="CT_SDDescription" minOccurs="0" maxOccurs="unbounded"/>
	<element name="catLst" type="CT_SDCategories" minOccurs="0"/>
	<element name="scene3d" type="a:CT_Scene3D" minOccurs="0" maxOccurs="1"/>
	<element name="styleLbl" type="CT_StyleLabel" minOccurs="1" maxOccurs="unbounded"/>
	<element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="uniqueId" type="xsd:string" use="optional" default=""/>
	<attribute name="minVer" type="xsd:string" use="optional" default="http://schemas.openxmlformats.org/drawingml/2006/diagram"/>
</complexType>