Apache POI SL

//create a new empty slide show
SlideShow ppt = new SlideShow();

//add first slide
Slide s1 = ppt.createSlide();

//save changes in a file
FileOutputStream out = new FileOutputStream("data/NewPPT_Apache.ppt");
ppt.write(out);
out.close();

Aspose.Slides

//Instantiate a Presentation object that represents a PPT file
Presentation pres = new Presentation();

//Writing the presentation as a PPT file
pres.write("data/NewPPT_Aspose.ppt");


Download Source Code

Last edited Mar 18, 2014 at 6:43 PM by shoaibkhan, version 2