[Table of Contents] [docx version]
Error! No text of specified style in document.
themeElements (Theme Elements)
This element defines the theme formatting options for the theme and is the workhorse of the theme. This is where the bulk of the shared theme information is contained and used by a document. This element contains the color scheme, font scheme, and format scheme elements which define the different formatting aspects of what a theme defines.
[Example: Consider the following example of a theme elements defined in DrawingML:
<themeElements>
<clrScheme name="sample">
…
</clrScheme>
<fontScheme name="sample">
…
</fontScheme>
<fmtScheme name="sample">
<fillStyleLst>
…
</fillStyleLst>
<lnStyleLst>
…
</lnStyleLst>
<effectStyleLst>
…
</effectStyleLst>
<bgFillStyleLst>
…
</bgFillStyleLst>
</fmtScheme>
</themeElements>
In this example, we see the basic structure of how a theme elements is defined and have left out the true guts of each individual piece to save room. Each part (color scheme, font scheme, format scheme) is defined elsewhere within DrawingML. end example]
Parent Elements |
theme (§5.1.8.9) |
Child Elements |
Subclause |
clrScheme (Color Scheme) |
§5.1.8.2 |
extLst (Extension List) |
§5.1.2.1.15 |
fmtScheme (Format Scheme) |
§5.1.4.1.14 |
fontScheme (Font Scheme) |
§5.1.4.1.18 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_BaseStyles">
<sequence>
<element name="clrScheme" type="CT_ColorScheme" minOccurs="1" maxOccurs="1"/>
<element name="fontScheme" type="CT_FontScheme" minOccurs="1" maxOccurs="1"/>
<element name="fmtScheme" type="CT_StyleMatrix" minOccurs="1" maxOccurs="1"/>
<element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>