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

Method add_sldId

src/pptx/oxml/presentation.py:62–67  ·  view source on GitHub ↗

Create and return a reference to a new `p:sldId` child element. The new `p:sldId` element has its r:id attribute set to `rId`.

(self, rId: str)

Source from the content-addressed store, hash-verified

60 sldId = ZeroOrMore("p:sldId")
61
62 def add_sldId(self, rId: str) -> CT_SlideId:
63 """Create and return a reference to a new `p:sldId` child element.
64
65 The new `p:sldId` element has its r:id attribute set to `rId`.
66 """
67 return self._add_sldId(id=self._next_id, rId=rId)
68
69 @property
70 def _next_id(self) -> int:

Callers 2

add_slideMethod · 0.80

Calls

no outgoing calls

Tested by 1