diff --git a/src/documentation/content/xdocs/slideshow/xslf-cookbook.xml b/src/documentation/content/xdocs/slideshow/xslf-cookbook.xml
index d13624b30..da0e683e1 100644
--- a/src/documentation/content/xdocs/slideshow/xslf-cookbook.xml
+++ b/src/documentation/content/xdocs/slideshow/xslf-cookbook.xml
@@ -50,6 +50,7 @@
Format text
Hyperlinks
Convert .pptx slides into images
+ Merge multiple presentations together
Cookbok
@@ -276,7 +277,28 @@ Options:
example demonstrates how to use Apache Batik to convert .pptx slides into SVG format.
-
+
+
+ Merge multiple presentations together
+
+ XMLSlideShow ppt = new XMLSlideShow();
+ String[] inputs = {"presentations1.pptx", "presentation2.pptx"};
+ for(String arg : inputs){
+ FileInputStream is = new FileInputStream(arg);
+ XMLSlideShow src = new XMLSlideShow(is);
+ is.close();
+
+ for(XSLFSlide srcSlide : src.getSlides()){
+ ppt.createSlide().importContent(srcSlide);
+ }
+ }
+
+ FileOutputStream out = new FileOutputStream("merged.pptx");
+ ppt.write(out);
+ out.close();
+
+
+