Convert OTP to FODP in Python

Save an OTP presentation template in the flat XML-based FODP format with Aspose.Slides for Python via Java.

Convert OTP to FODP in Python

Aspose.Slides for Python via Java can load an OTP presentation template and save it as an FODP file. FODP stores an OpenDocument presentation as a single flat XML document, which can simplify inspection, version control, and automated processing.

Convert OTP to FODP using Python

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

Python code for converting OTP to FODP

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

How to convert OTP to FODP in Python

Follow these steps to convert an OTP presentation template to flat XML-based FODP format.

  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 OTP file with Presentation.

  4. Call save with SaveFormat.Fodp to create the FODP file.