2.8.4.6 ST_StyleColorVal

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

Referenced by: CT_StyleColor

This simple type specifies what index to use when retrieving a color from CT_ColorStyle (section 2.8.3.2).<103>

If the type is xsd:unsignedInt ([XMLSCHEMA2/2] section 3.3.22), then that integer value is used as the index, zero being the first index.

If the type is ST_StyleColorEnum (section 2.8.4.5), the index is retrieved using the properties of the enumeration specified.

Finally, if the type is a string then the index is assumed to be zero.

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

 <xsd:simpleType name="ST_StyleColorVal">
   <xsd:union memberTypes="xsd:unsignedInt ST_StyleColorEnum xsd:string"/>
 </xsd:simpleType>

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