Merge FODP Files and Export to HTML in Python
Combine Flat OpenDocument Presentation files and export the merged slides as an HTML5 document with a cross-platform Python API
Merge FODP to HTML in Python
Aspose.Slides for Python via .NET
lets you merge Flat OpenDocument Presentation (FODP) files by cloning slides from one presentation into another. After combining the slides with SlideCollection.add_clone, call Presentation.save with SaveFormat.HTML5 to export the merged presentation as an HTML5 document.
Merge FODP files to HTML using Python
Open the destination and source FODP presentations, append a clone of each source slide, and save the merged presentation as HTML5.
Python code for merging FODP files into an HTML5 document
with slides.Presentation("destination.fodp") as destination_presentation:
with slides.Presentation("source.fodp") as source_presentation:
for slide in source_presentation.slides:
destination_presentation.slides.add_clone(slide)
destination_presentation.save("merged-presentation.html", slides.export.SaveFormat.HTML5)
How to merge FODP files and export to HTML with Aspose.Slides for Python
Follow these steps to merge two FODP files and export the result as an HTML5 document.
Install Aspose.Slides for Python via .NET by following the installation guide .
pip install aspose-slidesMake the
aspose.slidesnamespace available in your Python project.Open the destination and source FODP files as
Presentationinstances.Iterate through the source slides and call
SlideCollection.add_clonefor each slide.Call
Presentation.savewithSaveFormat.HTML5to write the merged presentation as an HTML5 document.
Export FODP to Other Supported Formats
You can also combine FODP presentations and save them in other supported formats.