com.aspose.slides
Interface IOverrideTheme

All Superinterfaces:
IPresentationComponent, ITheme
All Known Implementing Classes:
OverrideTheme

public interface IOverrideTheme
extends ITheme


Method Summary
 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.
 
Methods inherited from interface com.aspose.slides.ITheme
getColorScheme, getFontScheme, getFormatScheme
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

Method Detail

isEmpty

boolean isEmpty()

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


initColorScheme

void initColorScheme()

Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

Throws:
com.aspose.ms.System.InvalidOperationException - Thrown if the ColorScheme is already initialized (not null).

initColorSchemeFrom

void initColorSchemeFrom(IColorScheme colorScheme)

Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

Parameters:
colorScheme - Data to initialize from.
Throws:
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.

initColorSchemeFromInherited

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.

Throws:
com.aspose.ms.System.InvalidOperationException - Thrown if the ColorScheme is already initialized (not null).

initFontScheme

void initFontScheme()

Init FontScheme with new object for overriding FontScheme of InheritedTheme.

Throws:
com.aspose.ms.System.InvalidOperationException - Thrown if the FontScheme is already initialized (not null).

initFontSchemeFrom

void initFontSchemeFrom(IFontScheme fontScheme)

Init FontScheme with new object for overriding FontScheme of InheritedTheme.

Parameters:
fontScheme - Data to initialize from.
Throws:
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.

initFontSchemeFromInherited

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.

Throws:
com.aspose.ms.System.InvalidOperationException - Thrown if the FontScheme is already initialized (not null).

initFormatScheme

void initFormatScheme()

Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.

Throws:
com.aspose.ms.System.InvalidOperationException - Thrown if the FormatScheme is already initialized (not null).

initFormatSchemeFrom

void initFormatSchemeFrom(IFormatScheme formatScheme)

Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.

Parameters:
formatScheme - Data to initialize from.
Throws:
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.

initFormatSchemeFromInherited

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.

Throws:
com.aspose.ms.System.InvalidOperationException - Thrown if the FormatScheme is already initialized (not null).

clear

void clear()

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



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.