2.3.2.1 legacySpreadsheetColorIndex

Target namespace: http://schemas.microsoft.com/office/drawing/2010/main

Attribute type: ST_LegacySpreadsheetColorIndex

Extension attribute on type: srgbClr (RGB Color Model - Hex Variant) as specified in [ISO/IEC29500-1:2016] section 20.1.2.3.32

To maintain compatibility with implementations of Office Open XML file formats, the namespace prefix of this attribute MUST be specified in an Ignorable attribute ( [ISO/IEC29500-3:2015] section 7.2).

This attribute is an index into a color table specified by the indexedColors element ([ISO/IEC29500-1:2016] section 18.8.27) defined in a SpreadsheetML document.

When present in the context of a spreadsheet application, this attribute overrides any other color information present under its parent CT_SRgbColor element. This attribute is ignored in all other contexts.

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

 <xsd:attribute name="legacySpreadsheetColorIndex" type="ST_LegacySpreadsheetColorIndex"/>

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