Apache POI PPT Merging Apache POI PPT

How to merge multiple presentations in Apache POI PPT?

Multiple presentations can be merged using importContent() method of XMLSlideShow class. Below is the complete program to merge two presentations:

Save the above code as MergingMultiplePresentations.java and then compile and execute it from the command prompt as shown below:

It will compile and execute to generate below output:

Below screenshot displays the first presentation:


Below screenshot shows the second presentation:


Below is the output of the program after merging two slides. Here you can observe that the content of the earlier slides are merged together.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Apache POI PPT Topics