Hi all
I want import the PPT file in my
java swing application i apply the POI-HSLF java API.but that i got the error i give my code here.just i want show my application and also edit,save the PPt file.
//for get the slide
SlideShow ppt = new SlideShow(new HSLFSlideShow("slide100.ppt"));
java.awt.Dimension pgsize = ppt.getPageSize();
int px = pgsize.width; // width
int py = pgsize.height; // height
//for set the slide size
ppt.setPageSize(new java.awt.Dimension(1024, 768));
// for save
FileOutputStream out = new FileOutputStream("slide100.ppt");
wb.write(out);
out.close();
Thanx to Advance
Arjun