Updated script that can be controled by Nodejs web app
This commit is contained in:
17
lib/python3.13/site-packages/openpyxl/styles/protection.py
Normal file
17
lib/python3.13/site-packages/openpyxl/styles/protection.py
Normal file
@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2010-2024 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
|
Reference in New Issue
Block a user