Python-pptx: copy slide

前端 未结 6 1032
谎友^
谎友^ 2020-12-16 05:59

How can I copy slide?

I created a template slide and I need to copy it and edit shapes of each copy separately.

Or how I can add my template slide to present

6条回答
  •  既然无缘
    2020-12-16 06:44

    I was using n00by0815's answer and it worked great until I had to copy images. Here is my adapted version that handles images. This code creates a local copy of the image then adds it to the slide. I'm sure there's a cleaner way, but this works.

提交回复
热议问题