com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class SpreadsheetInspectionPackage

    • Method Detail

      • getComments

        public final SpreadsheetComment[] getComments()

        Gets an array of the user comments.

        Returns:
        The user comments.
      • getHiddenSheets

        public final SpreadsheetSheet[] getHiddenSheets()

        Gets an array of the hidden sheets.

        Returns:
        The hidden sheets.
      • getDigitalSignatures

        public final DigitalSignature[] getDigitalSignatures()

        Gets an array of digital signatures presented in the document.

        Returns:
        The digital signatures.
      • removeProperties

        public int removeProperties(Specification specification)

        Removes metadata properties satisfying a specification.

        Overrides:
        removeProperties in class MetadataPackage
        Parameters:
        specification - A specification to test each metadata property for a condition.
        Returns:
        The number of affected properties.
      • clearComments

        public final void clearComments()

        Removes all detected user comments from the spreadsheet.

      • clearHiddenSheets

        public final void clearHiddenSheets()

        Removes all detected hidden sheets from the spreadsheet.

      • clearDigitalSignatures

        public final void clearDigitalSignatures()

        Removes all detected digital signatures from the spreadsheet.

      • sanitize

        public int sanitize()

        Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.

        Overrides:
        sanitize in class MetadataPackage
        Returns:
        The number of affected properties.