Here is a basic example of use:
String[] deck = {
"pres1.pptx" ,"pres2.pptx", "pres3.pptx"
};
PresentationBuilder builder = new PresentationBuilder();
// Uncomment to retain look/feel of each presentation
//builder.setThemeTreatment(ThemeTreatment.RESPECT);
for (int i=0 ; i< deck.length; i++) {
// Create a SlideRange representing the slides in this pptx
SlideRange sr = new SlideRange(
(PresentationMLPackage)OpcPackage.load(
new File(DIR_IN + deck[i])));
// Add the slide range to the output
builder.addSlideRange(sr);
}
builder.getResult().save(
new File("/OUT_MergeWholePresentations.pptx"));
That example concatenates several entire slide decks, one after another, and "re-brands" them (since ThemeTreatment.RESPECT is not set).
But you could instead:
For further details, please see the manual.