refactor: excel parse

This commit is contained in:
Blizzard
2026-04-16 10:01:11 +08:00
parent 680ecc320f
commit f62f95ec02
7941 changed files with 2899112 additions and 0 deletions
@@ -0,0 +1,28 @@
# Copyright (c) 2010-2024 openpyxl
from openpyxl.descriptors import (
Bool,
String,
Typed
)
from openpyxl.descriptors.serialisable import Serialisable
from openpyxl.styles import Color
class ChartsheetProperties(Serialisable):
tagname = "sheetPr"
published = Bool(allow_none=True)
codeName = String(allow_none=True)
tabColor = Typed(expected_type=Color, allow_none=True)
__elements__ = ('tabColor',)
def __init__(self,
published=None,
codeName=None,
tabColor=None,
):
self.published = published
self.codeName = codeName
self.tabColor = tabColor