com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface ILoadOptions

  • All Known Implementing Classes:
    LoadOptions


    public interface ILoadOptions

    Allows to specify additional options (such as format or default font) when loading a presentation.

    • Method Detail

      • getLoadFormat

        int getLoadFormat()

        Returns or sets format of a presentation to load. Read/write LoadFormat.

      • setLoadFormat

        void setLoadFormat(int value)

        Returns or sets format of a presentation to load. Read/write LoadFormat.

      • getDefaultRegularFont

        java.lang.String getDefaultRegularFont()

        Returns or sets Regular font used in case source font is not found. Read-write String.

      • setDefaultRegularFont

        void setDefaultRegularFont(java.lang.String value)

        Returns or sets Regular font used in case source font is not found. Read-write String.

      • getDefaultSymbolFont

        java.lang.String getDefaultSymbolFont()

        Returns or sets Symbol font used in case source font is not found. Read-write String.

      • setDefaultSymbolFont

        void setDefaultSymbolFont(java.lang.String value)

        Returns or sets Symbol font used in case source font is not found. Read-write String.

      • getDefaultAsianFont

        java.lang.String getDefaultAsianFont()

        Returns or sets Asian font used in case source font is not found. Read-write String.

      • setDefaultAsianFont

        void setDefaultAsianFont(java.lang.String value)

        Returns or sets Asian font used in case source font is not found. Read-write String.

      • getPassword

        java.lang.String getPassword()

        Gets or sets the password. Read-write String.

        Value: The password.
      • setPassword

        void setPassword(java.lang.String value)

        Gets or sets the password. Read-write String.

        Value: The password.
      • getOnlyLoadDocumentProperties

        boolean getOnlyLoadDocumentProperties()

        This property makes sense, if presentation file is password protected. Value of true means that only document properties must be loaded from an encrypted presentation file and password must be ignored. Value of false means that entire encrypted presentation must be loaded with use of right password. If presentation isn't encrypted then property value is always ignored. If document properties of an encrypted file aren't public and property value is true then document properties cannot be loaded and exception will be thrown. Read-write boolean.

      • setOnlyLoadDocumentProperties

        void setOnlyLoadDocumentProperties(boolean value)

        This property makes sense, if presentation file is password protected. Value of true means that only document properties must be loaded from an encrypted presentation file and password must be ignored. Value of false means that entire encrypted presentation must be loaded with use of right password. If presentation isn't encrypted then property value is always ignored. If document properties of an encrypted file aren't public and property value is true then document properties cannot be loaded and exception will be thrown. Read-write boolean.

      • getWarningCallback

        IWarningCallback getWarningCallback()

        Returns or sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.

      • setWarningCallback

        void setWarningCallback(IWarningCallback value)

        Returns or sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.

      • getBlobManagementOptions

        IBlobManagementOptions getBlobManagementOptions()

        Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a particular environment or requirements.


        A Binary Large Object (BLOB) is a binary data stored as a single entity - i.e. BLOB can be an audio, video or presentation itself.

      • setBlobManagementOptions

        void setBlobManagementOptions(IBlobManagementOptions value)

        Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a particular environment or requirements.


        A Binary Large Object (BLOB) is a binary data stored as a single entity - i.e. BLOB can be an audio, video or presentation itself.

      • getDocumentLevelFontSources

        IFontSources getDocumentLevelFontSources()

        Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations

      • setDocumentLevelFontSources

        void setDocumentLevelFontSources(IFontSources value)

        Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations