Convert FODP Presentations to PPSM in Python

Save an FODP presentation in the macro-enabled PowerPoint PPSM slide show format with Aspose.Slides for Python via Java.

Convert FODP to PPSM in Python

Aspose.Slides for Python via Java can load an FODP presentation and save it in the macro-enabled PowerPoint PPSM slide show format. PPSM supports VBA projects, but converting an FODP file does not add macros to the presentation. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.

Convert FODP to PPSM using Python

Create a Presentation from the FODP file and call save with SaveFormat.Ppsm to create the PPSM slide show.

Python code for converting FODP to PPSM

presentation = Presentation("presentation.fodp")
try:
    presentation.save("presentation.ppsm", SaveFormat.Ppsm)
finally:
    presentation.dispose()

How to convert FODP to PPSM in Python

Follow these steps to save a flat XML OpenDocument presentation as a macro-enabled PowerPoint PPSM slide show.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source FODP file with Presentation.

  4. Call save with SaveFormat.Ppsm to write the PPSM slide show.