[Table of Contents] [docx version]
Error! No text of specified style in document.
styleLbl (Style Label)
This element defines the actual style which is applied to a node in a diagram The style is referenced from within layout node. The style label contains formatting (without defining color) such as the 3D properties and text properties associated with a shape.
[Example: Consider the following example of a styleLbl in DiagramML:
<scene3d>
<camera prst="orthographicFront"/>
<lightRig rig="flat" dir="t"/>
</scene3d>
<sp3d prstMaterial="flat">
<bevelT w="120900" h="88900"/>
<bevelB w="88900" h="31750" prst="angle"/>
</sp3d>
<txPr/>
<style>
<lnRef idx="0">
<scrgbClr r="0" g="0" b="0"/>
</lnRef>
<fillRef idx="3">
<scrgbClr r="0" g="0" b="0"/>
</fillRef>
<effectRef idx="2">
<scrgbClr r="0" g="0" b="0"/>
</effectRef>
<fontRef idx="minor">
<schemeClr val="lt1"/>
</fontRef>
</style>
</styleLbl>
In this example we see a styleLbl defined which sets 3D properties for the scene, shape 3D properties, line, fill, effect and font properties. end example]
Parent Elements |
styleDef (§5.9.5.7) |
Child Elements |
Subclause |
extLst (Extension List) |
§5.9.2.13 |
scene3d (3-D Scene) |
§5.9.5.5 |
sp3d (3-D Shape Properties) |
§5.9.5.6 |
style (Shape Style) |
§5.9.2.28 |
txPr (Text Properties) |
§5.9.5.12 |
Attributes |
Description |
name (Style Name) |
The name of the style. This apears as the tooltip in the user interface.
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_StyleLabel">
<sequence>
<element name="scene3d" type="a:CT_Scene3D" minOccurs="0" maxOccurs="1"/>
<element name="sp3d" type="a:CT_Shape3D" minOccurs="0" maxOccurs="1"/>
<element name="txPr" type="CT_TextProps" minOccurs="0" maxOccurs="1"/>
<element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
<element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="name" type="xsd:string" use="required"/>
</complexType>