Convert POTM Files to FODP in Python
Export a macro-enabled POTM file as a Flat OpenDocument Presentation with Aspose.Slides for Python via Java.
Convert POTM to FODP in Python
Aspose.Slides for Python via Java can load a macro-enabled POTM file 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.
Convert POTM to FODP using Python
Create a Presentation from the POTM file, then call save with SaveFormat.Fodp.
Python code for converting POTM to FODP
presentation = Presentation("presentation.potm")
try:
presentation.save("presentation.fodp", SaveFormat.Fodp)
finally:
presentation.dispose()
How to convert POTM to FODP in Python
Follow these steps to export a POTM file as a Flat OpenDocument Presentation.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source POTM file with
Presentation.Call
savewithSaveFormat.Fodpto create the FODP file.
Convert POTM to Other Supported Formats
You can also convert POTM files to other supported file formats.