com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class PresentationInspectionPackage

  • All Implemented Interfaces:
    Iterable<MetadataProperty>


    public final class PresentationInspectionPackage
    extends CustomPackage

    Contains information about presentation parts that can be considered as metadata in some cases.

    • Method Detail

      • getHiddenSlides

        public final PresentationSlide[] getHiddenSlides()

        Gets an array of the hidden slides.

        Returns:
        The hidden slides.
      • getComments

        public final PresentationComment[] getComments()

        Gets an array of the comments.

        Returns:
        The comments.
      • 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 presentation.

      • clearHiddenSlides

        public final void clearHiddenSlides()

        Removes all detected hidden slides from the presentation.

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