|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Theme
com.aspose.slides.OverrideTheme
public class OverrideTheme
Represents a overriding theme.
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class com.aspose.slides.Theme |
---|
getParent_Immediate, getPresentation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Method Detail |
---|
public void initColorScheme()
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
initColorScheme
in interface IOverrideTheme
com.aspose.ms.System.InvalidOperationException
- Thrown if the ColorScheme is already initialized (not null).public void initColorSchemeFrom(IColorScheme colorScheme)
Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.
initColorSchemeFrom
in interface IOverrideTheme
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.public 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 IOverrideTheme
com.aspose.ms.System.InvalidOperationException
- Thrown if the ColorScheme is already initialized (not null).public void initFontScheme()
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
initFontScheme
in interface IOverrideTheme
com.aspose.ms.System.InvalidOperationException
- Thrown if the FontScheme is already initialized (not null).public void initFontSchemeFrom(IFontScheme fontScheme)
Init FontScheme with new object for overriding FontScheme of InheritedTheme.
initFontSchemeFrom
in interface IOverrideTheme
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.public 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 IOverrideTheme
com.aspose.ms.System.InvalidOperationException
- Thrown if the FontScheme is already initialized (not null).public void initFormatScheme()
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
initFormatScheme
in interface IOverrideTheme
com.aspose.ms.System.InvalidOperationException
- Thrown if the FormatScheme is already initialized (not null).public void initFormatSchemeFrom(IFormatScheme formatScheme)
Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.
initFormatSchemeFrom
in interface IOverrideTheme
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.public 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 IOverrideTheme
com.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 ITheme
getColorScheme
in class Theme
public IFontScheme getFontScheme()
Returns the font scheme.
Read-only IFontScheme
.
getFontScheme
in interface ITheme
getFontScheme
in class Theme
public IFormatScheme getFormatScheme()
Returns the shape format scheme.
Read-only IFormatScheme
.
getFormatScheme
in interface ITheme
getFormatScheme
in class Theme
public 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 IOverrideTheme
public void clear()
Set ColorScheme, FontScheme, FormatScheme to null to disable any overriding with this theme object.
clear
in interface IOverrideTheme
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |