Style Definition

The style definition complex type, CT_StyleDefinition, is the root element used to define a style definition. As with the root element of a color transform, within the style definition there exists a title, description, category, unique id, and minimum version number. These elements serve the same purpose as they do within the color transform.

The interesting aspects of a style definition complex type are that it holds a style label, another style index (which is contained within the style label as well), and another <scene3d> (which is also contained within the style label as has been previously mentioned). The scene3d element applies to the diagram on a whole and allows for scene coherent 3-D to be applied to the diagram. The duplication of the style index is two-fold. If a style index is not defined within the style label, then the default style index, or rather, the index defined in this complex typem is used. Since a diagram definition can reference a style label, and not a style definition, the style index is also required within the style label. A CT_StyleDefniition is defined as follows:

<xsd:complexType name="CT_StyleDefinition">
  <xsd:sequence>
    <xsd:element name="title" type="CT_SDName" minOccurs="0" 
      maxOccurs="unbounded" />
    <xsd:element name="desc" type="CT_SDDescription" 
  minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="catLst" type="CT_SDCategories" 
      minOccurs="0" />
    <xsd:element name="scene3d" type="a:CT_Scene3D" 
      minOccurs="0" maxOccurs="1" />
    <xsd:element name="style" type="a:CT_ShapeStyle" 
      minOccurs="0" maxOccurs="1" />
    <xsd:element name="styleLbl" type="CT_StyleLabel" 
      minOccurs="1" maxOccurs="unbounded" />
  </xsd:sequence>
  <xsd:attribute name="uniqueId" type="xsd:anyURI" use="optional"/>
  <xsd:attribute name="minVer" type="ST_SDVersion" use="optional" `	  
    default="12.0" />	
</xsd:complexType>