com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class WordProcessingInspectionPackage

    • Method Detail

      • getComments

        public final WordProcessingComment[] getComments()

        Gets an array of the user comments.

        Returns:
        The user comments.
      • getFields

        public final WordProcessingField[] getFields()

        Gets an array of document fields.

        Returns:
        An array of document fields.
      • getHiddenText

        public final String[] getHiddenText()

        Gets an array of hidden text fragments extracted from the document.

        Returns:
        An array of hidden text fragments extracted from the document.
      • getDigitalSignatures

        public final DigitalSignature[] getDigitalSignatures()

        Gets an array of digital signatures presented in the document.

        Returns:
        The digital signatures.
      • getRevisions

        public final WordProcessingRevision[] getRevisions()

        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 document.

      • clearFields

        public final void clearFields()

        Removes all detected fields from the document.

      • clearHiddenText

        public final void clearHiddenText()

        Removes all hidden text fragments from the document.

      • acceptAllRevisions

        public final void acceptAllRevisions()

        Accepts all detected revisions in the document.

      • rejectAllRevisions

        public final void rejectAllRevisions()

        Rejects all detected revisions in the document.

      • 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.