https://openpyxl.readthedocs.io/en/stable/api/openpyxl.workbook.protection.html
DocumentSecurity(
workbookPassword = NULL,
workbookPasswordCharacterSet = NULL,
revisionsPassword = NULL,
revisionsPasswordCharacterSet = NULL,
lockStructure = NULL,
lockWindows = NULL,
lockRevision = NULL,
revisionsAlgorithmName = NULL,
revisionsHashValue = NULL,
revisionsSaltValue = NULL,
revisionsSpinCount = NULL,
workbookAlgorithmName = NULL,
workbookHashValue = NULL,
workbookSaltValue = NULL,
workbookSpinCount = NULL,
...
)
An openpyxl Python object.
workbookPassword
workbookPasswordCharacterSet
revisionsPassword
revisionsPasswordCharacterSet
lockStructure
lockWindows
lockRevision
revisionsAlgorithmName
revisionsHashValue
revisionsSaltValue
revisionsSpinCount
workbookAlgorithmName
workbookHashValue
workbookSaltValue
workbookSpinCount
Additional arguments, i.e. kwargs.
if (FALSE) {
DocumentSecurity()
}
Run the code above in your browser using DataLab