How to create a PowerPoint from scratch with Apache POI?

48 views Asked by At

I can't seem to create a PPT like this. Any help is appreciated. Thanks.

public static void main(String[] args) throws Exception{            
File file=new File("/Users/Rakuten/Desktop/Test/example2.ppt");
    try {
    FileOutputStream out= new FileOutputStream(file);
    SlideShowFactory.create(file);
    out.close();
    } 
catch (Exception e) {
        System.out.println(e);
    }   

        }
0

There are 0 answers