com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IOverrideTheme

    • 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.