ThemeOverride Class

Theme Override. It is the root element of ThemeOverridePart.When the object is serialized out as xml, its qualified name is a:themeOverride.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Drawing.ThemeOverride

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(FontScheme))> _
<ChildElementInfoAttribute(GetType(ColorScheme))> _
<ChildElementInfoAttribute(GetType(FormatScheme))> _
Public Class ThemeOverride _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As ThemeOverride
[ChildElementInfoAttribute(typeof(FontScheme))]
[ChildElementInfoAttribute(typeof(ColorScheme))]
[ChildElementInfoAttribute(typeof(FormatScheme))]
public class ThemeOverride : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • ColorScheme <a:clrScheme>

  • FontScheme <a:fontScheme>

  • FormatScheme <a:fmtScheme>

[ISO/IEC 29500-1 1st Edition]

20.1.6.12 themeOverride (Theme Override)

This element allows for an override which changes just the colors, fonts, or effects of a single object, like a table for example. Currently it is used only to control overrides on the non-top-level masters within a presentation.

Parent Elements

Root element of DrawingML Theme Override part

Child Elements

Subclause

clrScheme (Color Scheme)

§20.1.6.2

fmtScheme (Format Scheme)

§20.1.4.1.14

fontScheme (Font Scheme)

§20.1.4.1.18

[Note: The W3C XML Schema definition of this element’s content model (CT_BaseStylesOverride) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ThemeOverride Members

DocumentFormat.OpenXml.Drawing Namespace