Skip to main content
Question

Powerpoint, change background

  • January 29, 2020
  • 2 replies
  • 41 views

sigtill
Supporter
Forum|alt.badge.img+25

There is no Powerpoint reader in FME, but is it still somehow possible to replace background and/or color/styling on existing powerpoints on several Powerpoint-files by using FME?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • January 31, 2020

I don't think so. Background images are defined by the master slide in Powerpoint, and FME doesn't touch those. If you create a new powerpoint with the new style, then you can create new slides, but can't amend existing ones. You'd have to save the original powerpoint as an FME-readable format (PDF?!), read it back with FME, reconstruct/restyle it, then write it to a powerpoint using the new template.

But I think you'd have to be working with a large number of powerpoints, to spend time getting that to work. Otherwise you may as just well open each in turn and set the background manually.


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • January 31, 2020

I would investigate using python-pptx.

I've had very good success with the corresponding python-docx package.

Alternatively you could change the extension from pptx to zip, and then use the xml readers/writers and transformers to update the slide.