(self, shapes: list[ShapeElement])
| 1267 | del self.prs.slides._sldIdLst[0] |
| 1268 | |
| 1269 | def clear_images(self, shapes: list[ShapeElement]): |
| 1270 | for shape in shapes: |
| 1271 | if isinstance(shape, GroupShape): |
| 1272 | self.clear_images(shape.data) |
| 1273 | elif isinstance(shape, Picture): |
| 1274 | shape.img_path = "resource/pic_placeholder.png" |
| 1275 | |
| 1276 | def clear_text(self, shapes: list[BaseShape]): |
| 1277 | for shape in shapes: |