2.4.4.58 ColorSchemeIndex

The ColorSchemeIndex cell is a PtgByte parse token that specifies the index of the color scheme dynamic theme component. It MUST have a ShapeSheet_Type parent element or a StyleSheet_Type parent element.

The value of the V attribute MUST be greater than or equal to 0 and less than or equal to 65535.

If the value of the V attribute is equal to 65535, the color scheme is specified by a custom dynamic theme color scheme specified by the Master_Type element associated with a master whose UniqueID attribute is equal to the argument of the USE function token of the F attribute of the ColorSchemeIndex Cell_Type element.

If the value of the structure is equal to 0, color is specified by the root style sheet.

If the value of the V attribute is equal to 65534, the index of the color scheme dynamic theme component of a shape is specified by the V attribute of the ColorSchemeIndex Cell_Type descendant element of the PageSheet_Type element containing the shape.