MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / clear_slides

Method clear_slides

utils/src/presentation.py:1260–1267  ·  view source on GitHub ↗

Delete all slides from the presentation.

(self)

Source from the content-addressed store, hash-verified

1258 )
1259
1260 def clear_slides(self):
1261 """
1262 Delete all slides from the presentation.
1263 """
1264 while len(self.prs.slides) != 0:
1265 rId = self.prs.slides._sldIdLst[0].rId
1266 self.prs.part.drop_rel(rId)
1267 del self.prs.slides._sldIdLst[0]
1268
1269 def clear_images(self, shapes: list[ShapeElement]):
1270 for shape in shapes:

Callers 1

saveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected