Convert PPSM Files to FODP in Python

Export a macro-enabled PPSM slide show as a Flat OpenDocument Presentation with Aspose.Slides for Python via Java.

Convert PPSM to FODP using Python

Create a Presentation from the PPSM file, then call save with SaveFormat.Fodp.

Python code for converting PPSM to FODP

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

Convert PPSM to FODP in Python

Aspose.Slides for Python via Java can load a macro-enabled PPSM slide show and export it as a Flat OpenDocument Presentation (FODP). The conversion preserves the presentation content in a flat XML-based format; macros are not retained in FODP. Microsoft PowerPoint, LibreOffice, and OpenOffice are not required.

How to convert PPSM to FODP in Python

Follow these steps to export a PPSM file as a Flat OpenDocument Presentation.

  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 PPSM file with Presentation.
  4. Call save with SaveFormat.Fodp to create the FODP file.

Convert PPSM to Other Supported Formats

You can also convert PPSM presentations to other supported file formats.