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 - The absolute path to the file.
      • PptFormat

        public PptFormat(String fileName,
                 LoadOptions loadOptions)

        Initializes a new instance of the PptFormat class.

        Parameters:
        fileName - The absolute path to the file.
        loadOptions - Additional options to use when loading the document.
      • PptFormat

        public PptFormat(InputStream input)

        Initializes a new instance of the PptFormat class.

        Parameters:
        input - The stream containing the file.
      • PptFormat

        public PptFormat(InputStream input,
                 LoadOptions loadOptions)

        Initializes a new instance of the PptFormat class.

        Parameters:
        input - The stream containing the file.
        loadOptions - Additional options to use when loading the document.
    • Method Detail

      • getType

        public int getType()

        Gets document type.

        Specified by:
        getType in class FormatBase
        Returns:
        Document type.
      • 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 document is protected; otherwise, false.
      • cleanMetadata

        public void cleanMetadata()

        Removes (reset) metadata. In some cases(Doc, Xls, Ppt, Pdf) metadata could not be deleted.


        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.