Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pptx-python - Powerpoint always opens on master slide page

I have an app that creates powerpoints. Everything goes well except that every time I want to open one of these powerpoints it opens it in the slide master view. This isn't necessarily a problem per se, but just annoying since I open a lot of these powerpoint files. Has anyone else encountered this? Any idea what this is due to?

This happens on both mac and windows.

I create a presentation from a template, generate the slides and then save it more or less like this:

self.prs = Presentation(
            self.template_path)
for c, slide in enumerate(self.data):
    self.generate_slide(slide)
self.prs.save(save_location)
like image 683
Ludo Avatar asked Nov 01 '25 09:11

Ludo


1 Answers

I had this issue before, it was because the template slide was saved in the slide master view same as what Johnathon said.

like image 178
Saleh Avatar answered Nov 02 '25 23:11

Saleh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!