Files
fotoplaner/venv/lib/python3.12/site-packages/pptx/oxml/theme.py
T
anders 16c54c6653 Tilføjet venv med docling og afhængigheder
Testfiler opdelt i PNG og previews
2026-10-27 12:20:23 +01:00

30 lines
685 B
Python

"""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")