The theme attribute is claimed to be an index into the <clrScheme> collection, which sounds like an index into its child element position (which is also analogous to other indices used in Office Open XML). The theme attribute values are mapped to names of theme colors (bg1, tx1, bg2, etc.); however, this mapping is not documented.
Provide the mapping for the theme attribute.
Bg1 = 0
Tx1 = 1
Bg2 = 2
Tx2 = 3
Accent1 = 4
Accent2 = 5
etc.
Part 4, 3.3.1.14
te
Proposed Disposition of DIS 29500 Comment ECMA-0071 (Modified: 2007-12-05) We agree that it would be beneficial to document the mapping of Theme attribute values in Part 4, §3.3.1.14 to the names of the theme colors. A listing of this mapping will be added to the clrScheme element (Part 4, §5.1.8.2) and a reference will be added to the Theme attribute (Part 4, §3.3.1.14). Part 4, §3.3.1.14, page 1,943 Attributes Description theme (Theme Color) A zero-based Index into the <clrScheme> collection (§5.1.8.2) , referencing a particular <sysClr> or <srgbClr> value expressed in the Theme part. The possible values for this attribute are defined by the XML Schema unsignedInt datatype. Part 4, §5.1.8.2, page 3,576, insert after lines 2022: This element defines a set of colors which are referred to as a color scheme. The color scheme is responsible for defining a list of twelve colors. The twelve colors consist of six accent colors, two dark colors, two light colors and a color for each of a hyperlink and followed hyperlink. The Color Scheme Color elements appear in a sequence. The following listing shows the index value and corresponding Color Name. Sequence Index Element (Color) Name 0 dk1 (Dark 1) 1 lt1 (Light 1) 2 dk2 (Dark 2) 3 lt2 (Light 2) 4 accent1 (Accent 1) 5 accent2 (Accent 2) Sequence Index Element (Color) Name 6 accent3 (Accent 3) 7 accent4 (Accent 4) 8 accent5 (Accent 5) 9 accent6 (Accent 6) 10 hlink (Hyperlink) 11 folHlink (Followed Hyperlink)
