com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class PptFormat

    • Constructor Detail

      • PptFormat

        public PptFormat(String fileName)

        Initializes a new instance of the PptFormat class.

        Parameters:
        fileName - A string that contains the full name of the file from which to create a PptFormat instance.
      • PptFormat

        public PptFormat(String fileName,
                 LoadOptions loadOptions)

        Initializes a new instance of the PptFormat class.

        Parameters:
        fileName - A string that contains the full name of the file from which to create a PptFormat instance.
        loadOptions - Additional options to use when loading a document.
      • PptFormat

        public PptFormat(InputStream input)

        Initializes a new instance of the PptFormat class.

        Parameters:
        input - A stream that contains the data for this PptFormat.
      • PptFormat

        public PptFormat(InputStream input,
                 LoadOptions loadOptions)

        Initializes a new instance of the PptFormat class.

        Parameters:
        input - A stream that contains the data for this PptFormat.
        loadOptions - Additional options to use when loading a document.
    • Method Detail

      • getType

        public int getType()

        Gets the type of the loaded file.

        Specified by:
        getType in class FormatBase
        Returns:
        The type of the loaded file.
      • isProtected

        public final boolean isProtected()

        Returns true if the document is encrypted and requires a password to open.

        Specified by:
        isProtected in interface IProtectableFormat
        Returns:
        true if the document is protected; otherwise, false.
      • cleanMetadata

        public void cleanMetadata()

        Removes metadata found in the document.


        This feature is not available in trial mode.

        Overrides:
        cleanMetadata in class FormatBase
      • dispose

        protected void dispose(boolean disposing)

        Releases unmanaged and optionally managed resources.

        Overrides:
        dispose in class FormatBase
        Parameters:
        disposing - true to release both managed and unmanaged resources; false to release only unmanaged resources.