public interface IOverrideTheme extends ITheme
Modifier and Type | Method and Description |
---|---|
void |
clear()
Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.
|
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.
|
getColorScheme, getEffective, getFontScheme, getFormatScheme
getPresentation
boolean isEmpty()
True value means that ColorScheme, FontScheme, FormatScheme is null and any overriding with this theme object are disabled.
Read-only boolean
.
void initColorScheme()
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
com.aspose.ms.System.InvalidOperationException
- Thrown if the ColorScheme is already initialized (not null).void initColorSchemeFrom(IColorScheme colorScheme)
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
colorScheme
- 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.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.
com.aspose.ms.System.InvalidOperationException
- Thrown if the ColorScheme is already initialized (not null).void initFontScheme()
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
com.aspose.ms.System.InvalidOperationException
- Thrown if the FontScheme is already initialized (not null).void initFontSchemeFrom(IFontScheme fontScheme)
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
fontScheme
- 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.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.
com.aspose.ms.System.InvalidOperationException
- Thrown if the FontScheme is already initialized (not null).void initFormatScheme()
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
com.aspose.ms.System.InvalidOperationException
- Thrown if the FormatScheme is already initialized (not null).void initFormatSchemeFrom(IFormatScheme formatScheme)
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
formatScheme
- 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.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.
com.aspose.ms.System.InvalidOperationException
- Thrown if the FormatScheme is already initialized (not null).void clear()
Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.