mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 07:15:09 +00:00
18 lines
433 B
Python
18 lines
433 B
Python
from __future__ import absolute_import
|
|
# Copyright (c) 2010-2017 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
|