OverrideTheme

Inheritance: java.lang.Object, com.aspose.slides.Theme

All Implemented Interfaces: com.aspose.slides.IOverrideTheme

public final class OverrideTheme extends Theme implements IOverrideTheme

Represents a overriding theme.

Methods

MethodDescription
initColorScheme()Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
initColorSchemeFrom(IColorScheme colorScheme)Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
initColorSchemeFromInherited()Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
initFontScheme()Init FontScheme with new object for overriding FontScheme of InheritedTheme.
initFontSchemeFrom(IFontScheme fontScheme)Init FontScheme with new object for overriding FontScheme of InheritedTheme.
initFontSchemeFromInherited()Init FontScheme with new object for overriding FontScheme of InheritedTheme.
initFormatScheme()Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
initFormatSchemeFrom(IFormatScheme formatScheme)Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
initFormatSchemeFromInherited()Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
getColorScheme()Returns the color scheme.
getFontScheme()Returns the font scheme.
getFormatScheme()Returns the shape format scheme.
isEmpty()True value means that ColorScheme, FontScheme, FormatScheme is null and any overriding with this theme object are disabled.
clear()Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.
getVersion()

initColorScheme()

public final void initColorScheme()

Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

initColorSchemeFrom(IColorScheme colorScheme)

public final void initColorSchemeFrom(IColorScheme colorScheme)

Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

Parameters:

ParameterTypeDescription
colorSchemeIColorSchemeData to initialize from.

initColorSchemeFromInherited()

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.

initFontScheme()

public final void initFontScheme()

Init FontScheme with new object for overriding FontScheme of InheritedTheme.

initFontSchemeFrom(IFontScheme fontScheme)

public final void initFontSchemeFrom(IFontScheme fontScheme)

Init FontScheme with new object for overriding FontScheme of InheritedTheme.

Parameters:

ParameterTypeDescription
fontSchemeIFontSchemeData to initialize from.

initFontSchemeFromInherited()

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.

initFormatScheme()

public final void initFormatScheme()

Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.

initFormatSchemeFrom(IFormatScheme formatScheme)

public final void initFormatSchemeFrom(IFormatScheme formatScheme)

Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.

Parameters:

ParameterTypeDescription
formatSchemeIFormatSchemeData to initialize from.

initFormatSchemeFromInherited()

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.

getColorScheme()

public IColorScheme getColorScheme()

Returns the color scheme. Read-only IColorScheme.

Returns: IColorScheme

getFontScheme()

public IFontScheme getFontScheme()

Returns the font scheme. Read-only IFontScheme.

Returns: IFontScheme

getFormatScheme()

public IFormatScheme getFormatScheme()

Returns the shape format scheme. Read-only IFormatScheme.

Returns: IFormatScheme

isEmpty()

public final boolean isEmpty()

True value means that ColorScheme, FontScheme, FormatScheme is null and any overriding with this theme object are disabled. Read-only boolean.

Returns: boolean

clear()

public final void clear()

Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.

getVersion()

public long getVersion()

Version. Read-only long.

Returns: long