Hi!

I want to run the following simple example that should create a Power Point
file with one empty slide:

import java.io.*;

public class NewPresentation {

  public static void main(String[] args) {

    XMLSlideShow ppt = new XMLSlideShow();

    XSLFSlide blankSlide = ppt.createSlide();

    FileOutputStream out = new FileOutputStream("newpresentation.pptx");
    ppt.write(out);
    out.close();
                

  }

}


How do I install POI? On the download page there are "binary" releases. I
downloaded that zip file and unzipped it and in it was some folders and
files. How do I install it and what import command should i use at the top
of the java file. Im used to using notepad and the command line for
compiling and running java programs. 

kind regards, Simon



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/How-to-install-POI-tp5712616.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to