Convert ODP Presentations to PPSM in Python
Save an ODP presentation as a macro-enabled PowerPoint slide show with Aspose.Slides for Python via Java.
Convert ODP to PPSM in Python
Aspose.Slides for Python via Java can load an ODP presentation and save it as a PPSM file. PPSM is the macro-enabled Office Open XML format for PowerPoint slide shows; converting an ODP file does not add VBA macros to it. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.
Convert ODP to PPSM using Python
Create a Presentation from the ODP file and call save with SaveFormat.Ppsm to create the PPSM slide show.
Python code for converting ODP to PPSM
presentation = Presentation("presentation.odp")
try:
presentation.save("presentation.ppsm", SaveFormat.Ppsm)
finally:
presentation.dispose()
How to convert ODP to PPSM in Python
Follow these steps to convert an OpenDocument presentation to a macro-enabled PowerPoint slide show.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source ODP file with
Presentation.Call
savewithSaveFormat.Ppsmto write the PPSM slide show.
Convert ODP to Other Supported Formats
You can also convert ODP presentations to other supported file formats.