2.8.3.7 CT_StyleEntry

Target namespace: http://schemas.microsoft.com/office/drawing/2012/chartStyle

Referenced by: CT_ChartStyle

This complex type specifies the default formatting for a single type of element on a chart.<96> This element allows for properties to be explicitly specified or hold references to the document's theme.

Child Elements:

lnRef: A CT_StyleReference element that specifies a reference to a line style within the style matrix.

lineWidthScale: A double ([XMLSCHEMA2/2] section 3.2.5) element that specifies a multiplier to apply to the line width.

fillRef: A CT_StyleReference element that specifies a reference to a fill style within the style matrix.

effectRef: A CT_StyleReference element that specifies a reference to an effect style within the style matrix.

fontRef: A CT_FontReference element that specifies a reference to a themed font.

spPr: A CT_ShapeProperties ([ISO/IEC29500-1:2016] section A.4.1) element that specifies visual shape properties of the part of the chart associated with this CT_StyleEntry. These properties override properties that are specified by fillRef, lnRef and effectRef.

If a CT_SchemeColor ([ISO/IEC29500-1:2016] section A.4.1) element within this element’s child CT_FillProperties ([ISO/IEC29500-1:2016] section A.4.1) element has a value of phClr, then the color is resolved by replacing it with the color specified by fillRef.

If a CT_SchemeColor ([ISO/IEC29500-1:2016] section A.4.1) element within this element’s child CT_LineProperties ([ISO/IEC29500-1:2016] section A.4.1) element has a value of phClr, then the color is resolved by replacing it with the color specified by lnRef.

If a CT_SchemeColor ([ISO/IEC29500-1:2016] section A.4.1) element within this element’s child CT_EffectProperties ([ISO/IEC29500-1:2016] section A.4.1) or CT_Shape3D ([ISO/IEC29500-1:2016] section A.4.1) element has a value of phClr, then the color is resolved by replacing it with the color specified by effectRef.

defRPr: A CT_TextCharacterProperties ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the default text character properties for a text body on a chart which is associated with this CT_StyleEntry. If a CT_SchemeColor ([ISO/IEC29500-1:2016] section A.4.1) element within this element has a value of phClr, then the color is resolved by replacing it with the color specified by fontRef.

bodyPr: A CT_TextBodyProperties ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the body properties for a text body on a chart that is associated with this CT_StyleEntry.

extLst: A CT_OfficeArtExtensionList ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the extension list in which all future extensions of element type ext is defined. The extension list, along with corresponding future extensions, is used to extend the storage capabilities of the DrawingML framework. This enables various types of data to be stored natively in the framework.

Attributes:

mods: An ST_StyleEntryModifierList attribute that specifies modifiers for this style entry.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_StyleEntry">
   <xsd:sequence>
     <xsd:element name="lnRef" type="CT_StyleReference" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="lineWidthScale" type="xsd:double" minOccurs="0" maxOccurs="1" default="1.0"/>
     <xsd:element name="fillRef" type="CT_StyleReference" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="effectRef" type="CT_StyleReference" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="fontRef" type="CT_FontReference" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="defRPr" type="a:CT_TextCharacterProperties" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="bodyPr" type="a:CT_TextBodyProperties" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
   <xsd:attribute name="mods" type="ST_StyleEntryModifierList" use="optional"/>
 </xsd:complexType>

See section 5.15 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).