From 1e127a592f29e3ce12cda95e30856c9271dc0a07 Mon Sep 17 00:00:00 2001
From: Rainer Klute
The POI Browser pays special attention to property set streams. For example, the \005SummaryInformation stream contains information @@ -40,6 +44,49 @@ not just its first bytes but analyses the whole stream and displays its contents in a more or less readable manner.
Running the POI Browser requires you to start a Java Virtual Machine + (JVM) and to set up a valid classpath so that the JVM can find all the Java + classes it needs. These are the main POI classes and the "contrib" POI + classes.
+ +The following instructions assume that you have set up your Java + enviromnent variables properly, i.e. the variable JAVA_HOME contains the + name of your Java installation directory and the variable PATH includes the + bin subdirectory of the Java installation directory. At the time + of this writing the current POI version was 2.5.1-final dating from August + 4th, 2004. The example statements reflect version numbering and + date. Change the commands accordingly if you are running the POI Browser of + a later or earlier than this!
+ +Suppose you have unpacked the POI 2.5.1 release in the + /opt/local/poi directory of your Unix box. Then the following + command starts the POI Browser and displays the structure of the files + MyWord.doc, MyExcel.xls and + MyPowerpoint.ppt:
+ +java -classpath /opt/local/poi/poi-2.5.1-final-20040804.jar:/opt/local/poi/poi-contrib-2.5.1-final-20040804.jar org.apache.poi.contrib.poibrowser.POIBrowser MyWord.doc MyExcel.xls MyPowerpoint.ppt+
Suppose you have unpacked the POI 2.5.1 release in the + C:\Programs\POI directory of your Windows box. Then the following + command starts the POI Browser and displays the structure of the files + MyWord.doc, MyExcel.xls and + MyPowerpoint.ppt:
+ +java -classpath C:\Programs\POI\poi-2.5.1-final-20040804.jar;C:\Programs\POI\poi-contrib-2.5.1-final-20040804.jar org.apache.poi.contrib.poibrowser.POIBrowser MyWord.doc MyExcel.xls MyPowerpoint.ppt+