public final class OverrideTheme extends Theme implements IOverrideTheme
Represents a overriding theme.
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.
|
IColorScheme |
getColorScheme()
Returns the color scheme.
|
IFontScheme |
getFontScheme()
Returns the font scheme.
|
IFormatScheme |
getFormatScheme()
Returns the shape format scheme.
|
long |
getVersion()
Version.
|
void |
initColorScheme()
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
|
void |
initColorSchemeFrom(IColorScheme colorScheme)
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
|
void |
initColorSchemeFromInherited()
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
|
void |
initFontScheme()
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
|
void |
initFontSchemeFrom(IFontScheme fontScheme)
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
|
void |
initFontSchemeFromInherited()
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
|
void |
initFormatScheme()
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
|
void |
initFormatSchemeFrom(IFormatScheme formatScheme)
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
|
void |
initFormatSchemeFromInherited()
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
|
boolean |
isEmpty()
True value means that ColorScheme, FontScheme, FormatScheme is null and any overriding with this theme object are disabled.
|
getEffective, getParent_Immediate, getParent_IPresentationComponent, getPresentationequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEffectivegetPresentationpublic final void initColorScheme()
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
initColorScheme in interface IOverrideThemecom.aspose.ms.System.InvalidOperationException - Thrown if the ColorScheme is already initialized (not null).public final void initColorSchemeFrom(IColorScheme colorScheme)
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
initColorSchemeFrom in interface IOverrideThemecolorScheme - Data to initialize from.com.aspose.ms.System.InvalidOperationException - Thrown if the ColorScheme is already initialized (not null).com.aspose.ms.System.ArgumentNullException - Thrown if the colorScheme parameter is null.public final void initColorSchemeFromInherited()
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme. And initialize data of this new object with data of the ColorScheme of InheritedTheme.
initColorSchemeFromInherited in interface IOverrideThemecom.aspose.ms.System.InvalidOperationException - Thrown if the ColorScheme is already initialized (not null).public final void initFontScheme()
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
initFontScheme in interface IOverrideThemecom.aspose.ms.System.InvalidOperationException - Thrown if the FontScheme is already initialized (not null).public final void initFontSchemeFrom(IFontScheme fontScheme)
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
initFontSchemeFrom in interface IOverrideThemefontScheme - Data to initialize from.com.aspose.ms.System.InvalidOperationException - Thrown if the FontScheme is already initialized (not null).com.aspose.ms.System.ArgumentNullException - Thrown if the fontScheme parameter is null.public final void initFontSchemeFromInherited()
Init FontScheme with new object for overriding FontScheme of InheritedTheme. And initialize data of this new object with data of the FontScheme of InheritedTheme.
initFontSchemeFromInherited in interface IOverrideThemecom.aspose.ms.System.InvalidOperationException - Thrown if the FontScheme is already initialized (not null).public final void initFormatScheme()
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
initFormatScheme in interface IOverrideThemecom.aspose.ms.System.InvalidOperationException - Thrown if the FormatScheme is already initialized (not null).public final void initFormatSchemeFrom(IFormatScheme formatScheme)
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
initFormatSchemeFrom in interface IOverrideThemeformatScheme - Data to initialize from.com.aspose.ms.System.InvalidOperationException - Thrown if the FormatScheme is already initialized (not null).com.aspose.ms.System.ArgumentNullException - Thrown if the formatScheme parameter is null.public final void initFormatSchemeFromInherited()
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme. And initialize data of this new object with data of the FormatScheme of InheritedTheme.
initFormatSchemeFromInherited in interface IOverrideThemecom.aspose.ms.System.InvalidOperationException - Thrown if the FormatScheme is already initialized (not null).public IColorScheme getColorScheme()
Returns the color scheme.
Read-only IColorScheme.
getColorScheme in interface IThemegetColorScheme in class Themepublic IFontScheme getFontScheme()
Returns the font scheme.
Read-only IFontScheme.
getFontScheme in interface IThemegetFontScheme in class Themepublic IFormatScheme getFormatScheme()
Returns the shape format scheme.
Read-only IFormatScheme.
getFormatScheme in interface IThemegetFormatScheme in class Themepublic final boolean isEmpty()
True value means that ColorScheme, FontScheme, FormatScheme is null and any overriding with this theme object are disabled.
Read-only boolean.
isEmpty in interface IOverrideThemepublic final void clear()
Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.
clear in interface IOverrideThemepublic long getVersion()
Version.
Read-only long.
getVersion in class ThemeCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.