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

Function add_blank_slide

utils/pptx_utils.py:1278–1286  ·  view source on GitHub ↗

Add a blank slide to the Presentation (layout index 6 is typically blank). :param prs: The Presentation object to add a slide to. :return: The newly added slide object.

(prs)

Source from the content-addressed store, hash-verified

1276 return prs
1277
1278def add_blank_slide(prs):
1279 """
1280 Add a blank slide to the Presentation (layout index 6 is typically blank).
1281
1282 :param prs: The Presentation object to add a slide to.
1283 :return: The newly added slide object.
1284 """
1285 blank_layout = prs.slide_layouts[6]
1286 return prs.slides.add_slide(blank_layout)
1287
1288def shape_fill_color(shape, fill_color):
1289 """

Callers 2

deoverflowFunction · 0.50
process_leaf_sectionFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected