2.8.3.8 CT_StyleReference

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

Referenced by: CT_StyleEntry

A reference to the document's theme style matrix.<97> This element is identical to CT_StyleMatrixReference ([ISO/IEC29500-1:2016] section A.4.1) but also allows for a CT_StyleColor (section 2.8.3.6) element and a modifier list.

Child Elements:

scrgbClr: A CT_ScRgbColor ([ISO/IEC29500-1:2016] section A.4.1) element that specifies a color using the red-green-blue (RGB) color model. See ([ISO/IEC29500-1:2016] section 20.1.2.3.30).

srgbClr: A CT_SRgbColor ([ISO/IEC29500-1:2016] section A.4.1) element that specifies a color using the RGB color model. See ([ISO/IEC29500-1:2016] section 20.1.2.3.32).

hslClr: A CT_HslColor ([ISO/IEC29500-1:2016] section A.4.1) element that specifies a color using the hue-saturation-luminance (HSL) color model. See ([ISO/IEC29500-1:2016] section 20.1.2.3.13).

sysClr: A CT_SystemColor ([ISO/IEC29500-1:2016] section A.4.1) element that specifies a color bound to predefined operating system elements. See ([ISO/IEC29500-1:2016] section 20.1.2.3.33).

schemeClr: A CT_SchemeColor ([ISO/IEC29500-1:2016] section A.4.1) element that specifies a color bound to a user's theme. See ([ISO/IEC29500-1:2016] section 20.1.2.3.29).

prstClr: A CT_PresetColor ([ISO/IEC29500-1:2016] section A.4.1) element that specifies a color which is bound to one of a predefined collection of colors. See ([ISO/IEC29500-1:2016] section 20.1.2.3.22).

styleClr: A CT_StyleColor element that specifies a color calculated from a CT_ColorStyle.

Attributes:

idx: An ST_StyleMatrixColumnIndex ([ISO/IEC29500-1:2016] section 20.1.10.57) attribute that specifies the style matrix index of the style referred to.

mods: An ST_StyleReferenceModifierList attribute that specifies a list of modifiers for this reference.

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

 <xsd:complexType name="CT_StyleReference">
   <xsd:sequence>
     <xsd:group ref="a:EG_ColorChoice" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="styleClr" type="CT_StyleColor" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
   <xsd:attribute name="idx" type="a:ST_StyleMatrixColumnIndex" use="required"/>
   <xsd:attribute name="mods" type="ST_StyleReferenceModifierList" use="optional"/>
 </xsd:complexType>

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