feature: Slide.duplicate()
See original GitHub issueIn order to create a presentation by populating template slides with dynamic data As a developer using python-pptx I need the ability to clone a slide
API suggestion:
cloned_slide = prs.slides.clone_slide(original_slide)
The cloned slide would be appended to the end of the presentation and would be functionally equivalent to copying and pasting a slide using the PPT GUI.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:30
- Comments:67 (15 by maintainers)
Top Results From Across the Web
Slide.Duplicate method (PowerPoint) - Microsoft Learn
Creates a duplicate of the specified Slide object, adds the new slide to the Slides collection immediately after the slide specified ...
Read more >PowerPoint 2016 - Duplicate a Slide - MS Office 365 Tutorial
PowerPoint 2016 - Duplicate a Slide - How to Make and Copy Slides in MS PPT ... and Font Color The NOW Function...
Read more >Google Slide API-How do i duplicate a slide several times and ...
You want to copy the master slide several times in Google Slides. ... unique ID here. var requests = newIDs.reverse().map(function(id) { var ...
Read more >Create a copy of a Google Slides presentation using Apps Script
You can get the Id from the URL of the presentation. https://docs.google.com/presentation/d/<SLIDES_ID>/edit. function createCopyUsingDriveApp() { // The Id of ...
Read more >Class Slide | Apps Script - Google Developers
You can specify which layout to use for each slide when it is created. Methods. Method, Return type, Brief description. duplicate() ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FWIW, this is how I added chart support:
@marcomilov Did you solve the problem. I’m also getting duplicate warning and unable to open in Microsoft. How can we skip saving SlideLayouts.