[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
This simple type specifies a theme color to be applied to the current object. The specified theme color is a reference to one of the predefined theme colors, located in the document's Theme part, which allows color information to be set centrally in the document.
[Example: Consider a set of borders configured to use the accent2 theme color, resulting in the following WordprocessingML markup:
<w:top … w:color="FFA8A0" w:themeColor="accent2" w:themeTint="99" />
<w:bottom … w:color="FFA8A0" w:themeColor="accent2" w:themeTint="99" />
<w:left … w:color="FFA8A0" w:themeColor="accent2" w:themeTint="99" />
<w:right … w:color="FFA8A0" w:themeColor="accent2" w:themeTint="99" />
The borders have a themeColor attribute of type ST_ThemeColor that when specified, imports the accent2 theme color specified for this document. end example]
This simple type's contents are a restriction of the XML Schema string datatype.
The following are possible enumeration values for this type:
Enumeration Value |
Description |
accent1 (Accent 1 Theme Color) |
Specifies that the color to be used shall be the accent1 theme color. |
accent2 (Accent 2 Theme Color) |
Specifies that the color to be used shall be the accent2 theme color. |
accent3 (Accent 3 Theme Color) |
Specifies that the color to be used shall be the accent3 theme color. |
accent4 (Accent 4 Theme Color) |
Specifies that the color to be used shall be the accent4 theme color. |
accent5 (Accent 5 Theme Color) |
Specifies that the color to be used shall be the accent5 theme color. |
accent6 (Accent 6 Theme Color) |
Specifies that the color to be used shall be the accent6 theme color. |
background1 (Background 1 Theme Color) |
Specifies that the color to be used shall be the background1 theme color. |
background2 (Background 2 Theme Color) |
Specifies that the color to be used shall be the background2 theme color. |
dark1 (Dark 1 Theme Color) |
Specifies that the color to be used shall be the dark1 theme color. |
dark2 (Dark 2 Theme Color) |
Specifies that the color to be used shall be the dark2 theme color. |
followedHyperlink (Followed Hyperlink Theme Color) |
Specifies that the color to be used shall be the followedHyperlink theme color. |
hyperlink (Hyperlink Theme Color) |
Specifies that the color to be used shall be the hyperlink theme color. |
light1 (Light 1 Theme Color) |
Specifies that the color to be used shall be the light1 theme color. |
light2 (Light 2 Theme Color) |
Specifies that the color to be used shall be the light1 theme color. |
none (No Theme Color) |
Specifies that no theme color shall be applied to the current object. |
text1 (Text 1 Theme Color) |
Specifies that the color to be used shall be the text1 theme color. |
text2 (Text 2 Theme Color) |
Specifies that the color to be used shall be the text2 theme color. |
Referenced By |
background@themeColor (§2.2.1); bar@themeColor (§2.3.1.4); bdr@themeColor (§2.3.2.3); between@themeColor (§2.3.1.5); bottom@themeColor (§2.6.2); bottom@themeColor (§2.4.3); bottom@themeColor (§2.4.4); bottom@themeColor (§2.15.2.4); bottom@themeColor (§2.3.1.7); color@themeColor (§2.3.2.5); color@themeColor (§2.15.2.5); insideH@themeColor (§2.4.17); insideH@themeColor (§2.4.18); insideV@themeColor (§2.4.19); insideV@themeColor (§2.4.20); left@themeColor (§2.15.2.21); left@themeColor (§2.4.24); left@themeColor (§2.6.7); left@themeColor (§2.3.1.17); left@themeColor (§2.4.27); right@themeColor (§2.3.1.28); right@themeColor (§2.4.30); right@themeColor (§2.6.15); right@themeColor (§2.15.2.35); right@themeColor (§2.4.32); shd@themeColor (§2.3.2.30); shd@themeColor (§2.4.33); shd@themeColor (§2.4.34); shd@themeColor (§2.4.35); shd@themeColor (§2.3.1.31); shd@themeFill (§2.3.2.30); shd@themeFill (§2.4.33); shd@themeFill (§2.4.34); shd@themeFill (§2.4.35); shd@themeFill (§2.3.1.31); tl2br@themeColor (§2.4.70); top@themeColor (§2.4.71); top@themeColor (§2.3.1.42); top@themeColor (§2.15.2.42); top@themeColor (§2.4.74); top@themeColor (§2.6.21); tr2bl@themeColor (§2.4.76); u@themeColor (§2.3.2.38) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_ThemeColor">
<restriction base="xsd:string">
<enumeration value="dark1"/>
<enumeration value="light1"/>
<enumeration value="dark2"/>
<enumeration value="light2"/>
<enumeration value="accent1"/>
<enumeration value="accent2"/>
<enumeration value="accent3"/>
<enumeration value="accent4"/>
<enumeration value="accent5"/>
<enumeration value="accent6"/>
<enumeration value="hyperlink"/>
<enumeration value="followedHyperlink"/>
<enumeration value="none"/>
<enumeration value="background1"/>
<enumeration value="text1"/>
<enumeration value="background2"/>
<enumeration value="text2"/>
</restriction>
</simpleType>