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

Class CT_NotesSlide

src/pptx/oxml/slide.py:142–156  ·  view source on GitHub ↗

`p:notes` element, root of a notes slide part.

Source from the content-addressed store, hash-verified

140
141
142class CT_NotesSlide(_BaseSlideElement):
143 """`p:notes` element, root of a notes slide part."""
144
145 _tag_seq = ("p:cSld", "p:clrMapOvr", "p:extLst")
146 cSld: CT_CommonSlideData = OneAndOnlyOne("p:cSld") # pyright: ignore[reportAssignmentType]
147 del _tag_seq
148
149 @classmethod
150 def new(cls) -> CT_NotesSlide:
151 """Return a new ``<p:notes>`` element based on the default template.
152
153 Note that the template does not include placeholders, which must be subsequently cloned
154 from the notes master.
155 """
156 return cast(CT_NotesSlide, parse_from_template("notes"))
157
158
159class CT_Slide(_BaseSlideElement):

Callers

nothing calls this directly

Calls 1

OneAndOnlyOneClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…