Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: update app.xml properties on Presentation.save() #105

Open
minamaistay opened this issue Jul 2, 2014 · 1 comment
Open

feature: update app.xml properties on Presentation.save() #105

minamaistay opened this issue Jul 2, 2014 · 1 comment
Milestone

Comments

@minamaistay
Copy link

Hi,
Thanks for this amazing module.

I have noticed that if I:

  1. Open an existing 1 page PPTX (previously created by Microsoft powerpoint)
  2. Add pages to it via python-pptx.
  3. Save the new PPTX.
  4. Email the PPTX to a gmail account.

The preview of the PPTX via gmail only recognises file as having 1 page, so you can't preview past the first page.

However, downloading the PPTX to local machine displays fine in MS powerpoint.

Not needed urgently, just thought it better to let you know as it may be an easy fix.

Cheers.

@scanny
Copy link
Owner

scanny commented Jul 8, 2014

Hmm, interesting behavior. I suspect Gmail is reading the <Slides> element in the app.xml part of the pptx package. PowerPoint updates that on save to reflect the number of slides in the deck. I'd never heard of any applications using that data but might make sense to have python-pptx update that and perhaps some other document properties on save.

@scanny scanny changed the title Gmail preview of PPTX file only shows one page feature: update app.xml properties on Presentation.save() Sep 19, 2014
@scanny scanny modified the milestone: soon-ish Nov 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants