L.4.15.5.1.2 Style Label

The style label contains information pertaining to the styleable elements within a diagram. These elements include the shape properties and text properties along with any references to the style matrix or document theme. The shape properties are defined in two different ways: the scene3d element that pertains to the scene on a whole (and includes lighting effects, rotations, and the like), and any 3-D and material settings are held in the sp3d element. CT_StyleLabel is defined as follows:

<xsd:complexType name="CT_StyleLabel">
  <xsd:sequence>
    <xsd:element name="scene3d" type="a:CT_Scene3D"
      minOccurs="0" maxOccurs="1" />
    <xsd:element name="sp3d" type="a:CT_Shape3D" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="txPr" type="CT_TextProps" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="style" type="a:CT_ShapeStyle"
      minOccurs="0" maxOccurs="1" />
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>

As with many other complex types, the style label has an attribute reserved for a name. This is simply a string that names the particular style label. This style label can then be referenced from within a diagram definition, as we can see below.

Note that the scene3d element contained within a style label acts on the level of an individual shape, rather than the diagram as a whole. A second scene3d element is defined within the style definition; that acts on the diagram level and allows for scene coherent 3-D to be applied to the diagram. A style definition contains a style label.

Last updated on