init: 폴더구조 설계 및 인프라 설계
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
"""lxml custom element classes for theme-related XML elements."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from . import parse_from_template
|
||||
from .xmlchemy import BaseOxmlElement
|
||||
|
||||
|
||||
class CT_OfficeStyleSheet(BaseOxmlElement):
|
||||
"""
|
||||
``<a:theme>`` element, root of a theme part
|
||||
"""
|
||||
|
||||
_tag_seq = (
|
||||
"a:themeElements",
|
||||
"a:objectDefaults",
|
||||
"a:extraClrSchemeLst",
|
||||
"a:custClrLst",
|
||||
"a:extLst",
|
||||
)
|
||||
del _tag_seq
|
||||
|
||||
@classmethod
|
||||
def new_default(cls):
|
||||
"""
|
||||
Return a new ``<a:theme>`` element containing default settings
|
||||
suitable for use with a notes master.
|
||||
"""
|
||||
return parse_from_template("theme")
|
||||
Reference in New Issue
Block a user