OverrideTheme
OverrideTheme class
Represents a overriding theme.
clear
Name | Description |
---|---|
clear () | Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object. |
Returns: void
getColorScheme
Name | Description |
---|---|
getColorScheme () | Returns the color scheme. Read-only IColorScheme. |
Returns: ColorScheme
getFontScheme
Name | Description |
---|---|
getFontScheme () | Returns the font scheme. Read-only IFontScheme. |
Returns: FontScheme
getFormatScheme
Name | Description |
---|---|
getFormatScheme () | Returns the shape format scheme. Read-only IFormatScheme. |
Returns: FormatScheme
getVersion
Name | Description |
---|---|
getVersion () |
Returns: long
initColorScheme
Name | Description |
---|---|
initColorScheme () | Init ColorScheme with new object for overriding ColorScheme of InheritedTheme. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.InvalidOperationException | Thrown if the ColorScheme is already initialized (not null). |
initColorSchemeFrom
Name | Description |
---|---|
initColorSchemeFrom (ColorScheme) | Init ColorScheme with new object for overriding ColorScheme of InheritedTheme. |
Parameters:
Name | Type | Description |
---|---|---|
colorScheme | ColorScheme | Data to initialize from. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.ArgumentNullException | Thrown if the colorScheme parameter is null. |
initColorSchemeFromInherited
Name | Description |
---|---|
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. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.InvalidOperationException | Thrown if the ColorScheme is already initialized (not null). |
initFontScheme
Name | Description |
---|---|
initFontScheme () | Init FontScheme with new object for overriding FontScheme of InheritedTheme. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.InvalidOperationException | Thrown if the FontScheme is already initialized (not null). |
initFontSchemeFrom
Name | Description |
---|---|
initFontSchemeFrom (FontScheme) | Init FontScheme with new object for overriding FontScheme of InheritedTheme. |
Parameters:
Name | Type | Description |
---|---|---|
fontScheme | FontScheme | Data to initialize from. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.ArgumentNullException | Thrown if the fontScheme parameter is null. |
initFontSchemeFromInherited
Name | Description |
---|---|
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. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.InvalidOperationException | Thrown if the FontScheme is already initialized (not null). |
initFormatScheme
Name | Description |
---|---|
initFormatScheme () | Init FormatScheme with new object for overriding FormatScheme of InheritedTheme. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.InvalidOperationException | Thrown if the FormatScheme is already initialized (not null). |
initFormatSchemeFrom
Name | Description |
---|---|
initFormatSchemeFrom (FormatScheme) | Init FormatScheme with new object for overriding FormatScheme of InheritedTheme. |
Parameters:
Name | Type | Description |
---|---|---|
formatScheme | FormatScheme | Data to initialize from. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.ArgumentNullException | Thrown if the formatScheme parameter is null. |
initFormatSchemeFromInherited
Name | Description |
---|---|
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. |
Returns: void
Exception
Error | Condition |
---|---|
com.aspose.ms.System.InvalidOperationException | Thrown if the FormatScheme is already initialized (not null). |
isEmpty
Name | Description |
---|---|
isEmpty () | True value means that ColorScheme, FontScheme, FormatScheme is null and any overriding with this theme object are disabled. Read-only boolean. |
Returns: boolean