# Convert OpenDocument Presentations in Python

> Convert OpenDocument (ODP) presentations to PDF, HTML, and other formats with Aspose.Slides for Python via Java, without installing OpenOffice or LibreOffice.

Source: https://docs.aspose.com/slides/python-java/convert-openoffice-odp/
Updated: 2026-09-07


## **Introduction**

Aspose.Slides for Python via Java allows you to convert OpenDocument (ODP) presentations to formats such as PDF, HTML, TIFF, XPS, PPT, and PPTX. ODP conversion uses the same API as PowerPoint conversion: load the source file with [Presentation](https://reference.aspose.com/slides/python-java/aspose.slides/presentation/) and select the output format with [SaveFormat](https://reference.aspose.com/slides/python-java/aspose.slides/saveformat/).

## **Convert ODP to PDF**

Follow the [installation instructions](/slides/python-java/installation/) before running the example. Place an ODP presentation named `pres.odp` in the working directory. The following code starts the JVM if necessary, loads the presentation, and saves it as `pres.pdf`.

```python
import jpype
import asposeslides

if not jpype.isJVMStarted():
    jpype.startJVM()

from asposeslides.api import Presentation, SaveFormat

presentation = Presentation("pres.odp")
try:
    presentation.save("pres.pdf", SaveFormat.Pdf)
finally:
    presentation.dispose()
```

## **OpenDocument Presentation in Different Applications**

An ODP presentation may look different in PowerPoint and LibreOffice/OpenOffice Impress because these applications support different presentation features and rendering behaviors. Review converted presentations when their layout depends on complex formatting.

Compatibility differences can affect:

- Tables, including their stacking order relative to other shapes and support for picture fills.
- Text rotation and alignment.
- Picture, gradient, and pattern fills applied to text.
- Numbered and bulleted lists.

The image below shows a list created in LibreOffice Impress:

![ODP list example in LibreOffice Impress](odp-list-example.png)

Aspose.Slides saves ODP lists for compatibility with LibreOffice/OpenOffice Impress.

For details about feature compatibility, see [Microsoft's guide to the OpenDocument Presentation format](https://support.microsoft.com/en-us/office/use-powerpoint-to-save-or-open-a-presentation-in-the-opendocument-presentation-odp-format-94805e84-1b09-4c98-a8b5-0da2a52242a0).

## **FAQ**

**What if the formatting of my ODP file changes after conversion?**

ODP and PowerPoint use different presentation models. Tables, fonts, and fill styles may render differently. Check that the required fonts are available, review the output, and adjust the layout or formatting if necessary.

**Do I need OpenOffice or LibreOffice installed to convert ODP files?**

No. Aspose.Slides for Python via Java processes presentations without either application. A compatible Java runtime and the Python package are required.

**Can I customize PDF output when converting an ODP presentation?**

Yes. Use [PdfOptions](https://reference.aspose.com/slides/python-java/aspose.slides/pdfoptions/) to configure PDF export settings, such as image quality and compression.

**Can I convert ODP presentations on a server or in a container?**

Yes. Install the Python package, a compatible Java runtime, and the fonts required by your presentations in the target environment. No office application is needed.

