public final class PresentationInspectionPackage extends CustomPackage
Contains information about presentation parts that can be considered as metadata in some cases.
Learn more
Modifier and Type | Method and Description |
---|---|
void |
clearComments()
Removes all detected user comments from the presentation.
|
void |
clearHiddenSlides()
Removes all detected hidden slides from the presentation.
|
PresentationComment[] |
getComments()
Gets an array of the comments.
|
PresentationSlide[] |
getHiddenSlides()
Gets an array of the hidden slides.
|
int |
removeProperties(Specification specification)
Removes metadata properties satisfying a specification.
|
int |
sanitize()
Removes writable metadata properties from the package.
|
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final PresentationSlide[] getHiddenSlides()
Gets an array of the hidden slides.
public final PresentationComment[] getComments()
Gets an array of the comments.
public int removeProperties(Specification specification)
Removes metadata properties satisfying a specification.
removeProperties
in class MetadataPackage
specification
- A specification to test each metadata property for a condition.public final void clearComments()
Removes all detected user comments from the presentation.
public final void clearHiddenSlides()
Removes all detected hidden slides from the presentation.
public int sanitize()
Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
sanitize
in class MetadataPackage