PresentationInspectionPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public final class PresentationInspectionPackage extends CustomPackage

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

Learn more

Methods

Method Description
getHiddenSlides() Gets an array of the hidden slides.
getComments() Gets an array of the comments.
removeProperties(Specification specification) Removes metadata properties satisfying a specification.
clearComments() Removes all detected user comments from the presentation.
clearHiddenSlides() Removes all detected hidden slides from the presentation.
sanitize() Removes writable metadata properties from the package.

getHiddenSlides()

public final PresentationSlide[] getHiddenSlides()

Gets an array of the hidden slides.

Returns: com.groupdocs.metadata.core.PresentationSlide[] - The hidden slides.

getComments()

public final PresentationComment[] getComments()

Gets an array of the comments.

Returns: com.groupdocs.metadata.core.PresentationComment[] - The comments.

removeProperties(Specification specification)

public int removeProperties(Specification specification)

Removes metadata properties satisfying a specification.

Parameters:

Parameter Type Description
specification Specification A specification to test each metadata property for a condition.

Returns: int - 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.

Returns: int - The number of affected properties.