<clrMap>
(Color Map)
This element specifics the color mapping layer which allows a user to define colors for background and text. This allows for swapping out of light/dark colors for backgrounds and the text on top of the background in order to maintain readability of the text On a deeper level, this specifies exactly which colors the first 12 values refer to in the color scheme.
<clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>
In this example, we see that @bg1
is mapped to @lt1
, @tx1
is mapped to @dk1
, and so on. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
Attributes |
Description |
---|---|
|
Specifies a color defined which is associated as the accent 1 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the accent 2 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the accent 3 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the accent 4 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the accent 5 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the accent 6 color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
A color defined which is associated as the first background color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the second background color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the color for a followed hyperlink. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the color for a hyperlink. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the first text color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
|
Specifies a color defined which is associated as the second text color. The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§5.1.12.14). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_ColorMapping">
<sequence>
<element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="bg1" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="tx1" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="bg2" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="tx2" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="accent1" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="accent2" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="accent3" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="accent4" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="accent5" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="accent6" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="hlink" type="ST_ColorSchemeIndex" use="required"/>
<attribute name="folHlink" type="ST_ColorSchemeIndex" use="required"/>
</complexType>