openpyxl.styles.protection module

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

基类:openpyxl.descriptors.serialisable.Serialisable

Protection options for use in styles.

hidden

Values must be of type <class ‘bool’>

locked

Values must be of type <class ‘bool’>

tagname = 'protection'