Steps below describe how to configure Inforama with Open Office 3.x in Eclipse IDE.
Right-click the DocumentEditor project and select Properties. Go to Java Build Path and remove all references to the jar files pointed to by the openoffice_lib variable. Click Add External JARs... and select all jar files from directories: openoffice_folder/Basis/program/classes (e.g. C:\Program Files\OpenOffice.org 3\Basis\program\classes) and openoffice_folder/URE/java (e.g. C:\Program Files\OpenOffice.org 3\URE\java).
configure the build path
 |
Create the Launch configuration.
In the Document Editor project properties dialog select Run/Debug Settings, choose Java Application and click OK. In the Launch configuration properties dialog specify as follows:
Specify the
main class as
org.in4ama.editor.xui.Launcher.
specify the main class
 |
Specify the
Program arguments as
"openoffice_folder" 3 (e.g.
"C:\Program Files\OpenOffice.org" 3).
specify the program arguments
 |
Add a new variable named
UNO_PATH and sets its value to
openoffice_folder/program (e.g.
C:\Program Files\OpenOffice.org\program).
specify UNO_PATH variable
 |
Rebuild the DocumentEditor project