openpyxl.styles.protection模块

class openpyxl.styles.protection.Protection(locked=True, hidden=False)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

用于样式的保护选项。

hidden

值的类型必须小于class'bool'>

locked

值的类型必须小于class'bool'>

tagname = 'protection'