//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();
//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