openpyxl.styles.protection module

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

Bases: 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'