com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class OverrideTheme

    • Method Detail

      • initColorScheme

        public final void initColorScheme()

        Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

        Specified by:
        initColorScheme in interface IOverrideTheme
        Throws:
        com.aspose.ms.System.InvalidOperationException - Thrown if the ColorScheme is already initialized (not null).
      • initColorSchemeFrom

        public final void initColorSchemeFrom(IColorScheme colorScheme)

        Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

        Specified by:
        initColorSchemeFrom in interface IOverrideTheme
        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

        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.

        Specified by:
        initColorSchemeFromInherited in interface IOverrideTheme
        Throws:
        com.aspose.ms.System.InvalidOperationException - Thrown if the ColorScheme is already initialized (not null).
      • initFontScheme

        public final void initFontScheme()

        Init FontScheme with new object for overriding FontScheme of InheritedTheme.

        Specified by:
        initFontScheme in interface IOverrideTheme
        Throws:
        com.aspose.ms.System.InvalidOperationException - Thrown if the FontScheme is already initialized (not null).
      • initFontSchemeFrom

        public final void initFontSchemeFrom(IFontScheme fontScheme)

        Init FontScheme with new object for overriding FontScheme of InheritedTheme.

        Specified by:
        initFontSchemeFrom in interface IOverrideTheme
        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

        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.

        Specified by:
        initFontSchemeFromInherited in interface IOverrideTheme
        Throws:
        com.aspose.ms.System.InvalidOperationException - Thrown if the FontScheme is already initialized (not null).
      • initFormatScheme

        public final void initFormatScheme()

        Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.

        Specified by:
        initFormatScheme in interface IOverrideTheme
        Throws:
        com.aspose.ms.System.InvalidOperationException - Thrown if the FormatScheme is already initialized (not null).
      • initFormatSchemeFrom

        public final void initFormatSchemeFrom(IFormatScheme formatScheme)

        Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.

        Specified by:
        initFormatSchemeFrom in interface IOverrideTheme
        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

        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.

        Specified by:
        initFormatSchemeFromInherited in interface IOverrideTheme
        Throws:
        com.aspose.ms.System.InvalidOperationException - Thrown if the FormatScheme is already initialized (not null).
      • 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.

        Specified by:
        isEmpty in interface IOverrideTheme
      • clear

        public final void clear()

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

        Specified by:
        clear in interface IOverrideTheme
      • getVersion

        public long getVersion()

        Version. Read-only long.

        Specified by:
        getVersion in class Theme