public final class SpreadsheetInspectionPackage extends CustomPackage
Contains information about spreadsheet 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 spreadsheet.
|
void |
clearDigitalSignatures()
Removes all detected digital signatures from the spreadsheet.
|
void |
clearHiddenSheets()
Removes all detected hidden sheets from the spreadsheet.
|
SpreadsheetComment[] |
getComments()
Gets an array of the user comments.
|
DigitalSignature[] |
getDigitalSignatures()
Gets an array of digital signatures presented in the document.
|
SpreadsheetSheet[] |
getHiddenSheets()
Gets an array of the hidden sheets.
|
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, updatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic final void clearComments()
Removes all detected user comments from the spreadsheet.
public final void clearDigitalSignatures()
Removes all detected digital signatures from the spreadsheet.
public final void clearHiddenSheets()
Removes all detected hidden sheets from the spreadsheet.
public final SpreadsheetComment[] getComments()
Gets an array of the user comments.
public final DigitalSignature[] getDigitalSignatures()
Gets an array of digital signatures presented in the document.
public final SpreadsheetSheet[] getHiddenSheets()
Gets an array of the hidden sheets.
public int removeProperties(Specification specification)
Removes metadata properties satisfying a specification.
removeProperties in class MetadataPackagespecification - A specification to test each metadata property for a condition.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 MetadataPackageCopyright © 2026. All rights reserved.