Convert FODP Presentations to PPTM in Python
Save an FODP presentation in the macro-enabled PowerPoint PPTM format with Aspose.Slides for Python via Java.
Convert FODP to PPTM in Python
Aspose.Slides for Python via Java can load an FODP presentation and save it in the macro-enabled PowerPoint PPTM format. PPTM 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 PPTM using Python
Create a Presentation from the FODP file and call save with SaveFormat.Pptm to create the PPTM file.
Python code for converting FODP to PPTM
presentation = Presentation("presentation.fodp")
try:
presentation.save("presentation.pptm", SaveFormat.Pptm)
finally:
presentation.dispose()
How to convert FODP to PPTM in Python
Follow these steps to save a flat XML OpenDocument presentation in the macro-enabled PowerPoint PPTM format.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source FODP file with
Presentation.Call
savewithSaveFormat.Pptmto write the PPTM file.
Convert FODP to Other Supported Formats
You can also convert FODP presentations to other supported file formats.