MCPcopy Create free account
hub / github.com/scanny/python-pptx / CT_BackgroundProperties

Class CT_BackgroundProperties

src/pptx/oxml/slide.py:59–88  ·  view source on GitHub ↗

`p:bgPr` element.

Source from the content-addressed store, hash-verified

57
58
59class CT_BackgroundProperties(BaseOxmlElement):
60 """`p:bgPr` element."""
61
62 _tag_seq = (
63 "a:noFill",
64 "a:solidFill",
65 "a:gradFill",
66 "a:blipFill",
67 "a:pattFill",
68 "a:grpFill",
69 "a:effectLst",
70 "a:effectDag",
71 "a:extLst",
72 )
73 eg_fillProperties = ZeroOrOneChoice(
74 (
75 Choice("a:noFill"),
76 Choice("a:solidFill"),
77 Choice("a:gradFill"),
78 Choice("a:blipFill"),
79 Choice("a:pattFill"),
80 Choice("a:grpFill"),
81 ),
82 successors=_tag_seq[6:],
83 )
84 del _tag_seq
85
86 def _new_gradFill(self):
87 """Override default to add default gradient subtree."""
88 return CT_GradientFillProperties.new_gradFill()
89
90
91class CT_CommonSlideData(BaseOxmlElement):

Callers

nothing calls this directly

Calls 2

ZeroOrOneChoiceClass · 0.90
ChoiceClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…