com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class LoadOptions

  • java.lang.Object
    • com.aspose.slides.LoadOptions
  • All Implemented Interfaces:
    ILoadOptions


    public class LoadOptions
    extends java.lang.Object
    implements ILoadOptions

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

    • Constructor Detail

      • LoadOptions

        public LoadOptions()

        Creates new default load options.

      • LoadOptions

        public LoadOptions(int loadFormat)

        Creates new load options.

        Parameters:
        loadFormat - Format of a presentation to load.
    • Method Detail

      • getLoadFormat

        public final int getLoadFormat()

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

        Specified by:
        getLoadFormat in interface ILoadOptions
      • setLoadFormat

        public final void setLoadFormat(int value)

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

        Specified by:
        setLoadFormat in interface ILoadOptions
      • getDefaultRegularFont

        public final java.lang.String getDefaultRegularFont()

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

        Specified by:
        getDefaultRegularFont in interface ILoadOptions
      • setDefaultRegularFont

        public final void setDefaultRegularFont(java.lang.String value)

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

        Specified by:
        setDefaultRegularFont in interface ILoadOptions
      • getDefaultSymbolFont

        public final java.lang.String getDefaultSymbolFont()

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

        Specified by:
        getDefaultSymbolFont in interface ILoadOptions
      • setDefaultSymbolFont

        public final void setDefaultSymbolFont(java.lang.String value)

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

        Specified by:
        setDefaultSymbolFont in interface ILoadOptions
      • getDefaultAsianFont

        public final java.lang.String getDefaultAsianFont()

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

        Specified by:
        getDefaultAsianFont in interface ILoadOptions
      • setDefaultAsianFont

        public final void setDefaultAsianFont(java.lang.String value)

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

        Specified by:
        setDefaultAsianFont in interface ILoadOptions
      • getPassword

        public final java.lang.String getPassword()

        Gets or sets the password. Read/write String.

        Value: The password.
        Specified by:
        getPassword in interface ILoadOptions
      • setPassword

        public final void setPassword(java.lang.String value)

        Gets or sets the password. Read/write String.

        Value: The password.
        Specified by:
        setPassword in interface ILoadOptions
      • getOnlyLoadDocumentProperties

        public final 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.

        Specified by:
        getOnlyLoadDocumentProperties in interface ILoadOptions
      • setOnlyLoadDocumentProperties

        public final 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.

        Specified by:
        setOnlyLoadDocumentProperties in interface ILoadOptions
      • getBlobManagementOptions

        public final 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 perticular 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.
        Specified by:
        getBlobManagementOptions in interface ILoadOptions
      • setBlobManagementOptions

        public final 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 perticular 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.
        Specified by:
        setBlobManagementOptions in interface ILoadOptions
      • getDocumentLevelFontSources

        public final 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

        Specified by:
        getDocumentLevelFontSources in interface ILoadOptions
      • setDocumentLevelFontSources

        public final 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

        Specified by:
        setDocumentLevelFontSources in interface ILoadOptions