Merge PPSX files and export to HTML in Python
Combine PPSX slide shows and export the merged presentation as an HTML5 document with Aspose.Slides for Python via .NET. Microsoft PowerPoint and OpenOffice are not required.
Merge PPSX to HTML in Python
Aspose.Slides for Python via .NET
lets you merge PPSX slide shows by cloning slides from a source Presentation into a destination Presentation. The cloned slides retain their layouts, shapes, styles, text, formatting, comments, and animations. Save the destination presentation with SaveFormat.HTML5 to create an HTML5 document.
Merge PPSX files to HTML using Python
Clone each source slide with add_clone, then call save with SaveFormat.HTML5.
Python code to merge PPSX files into an HTML5 document
with slides.Presentation("presentation1.ppsx") as destination_presentation:
with slides.Presentation("presentation2.ppsx") 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 PPSX to HTML using Aspose.Slides for Python API
Follow these steps to merge two PPSX files and export the result as an HTML5 document in Python.
Install Aspose.Slides for Python via .NET .
Import the
aspose.slidespackage.Open the destination and source PPSX files as
Presentationinstances.Clone each source slide by using
add_clone.Save the merged presentation as an HTML5 document by using
SaveFormat.HTML5.
Export PPSX to Other Supported Formats
You can also merge PPSX files and export the result to other supported formats.