School/.venv/lib/python3.9/site-packages/openpyxl/styles/protection.py
Kristofers Solo fc125db0e7 Updated .venv
2021-11-22 17:12:51 +02:00

18 lines
394 B
Python

# Copyright (c) 2010-2021 openpyxl
from openpyxl.descriptors import Bool
from openpyxl.descriptors.serialisable import Serialisable
class Protection(Serialisable):
"""Protection options for use in styles."""
tagname = "protection"
locked = Bool()
hidden = Bool()
def __init__(self, locked=True, hidden=False):
self.locked = locked
self.hidden = hidden