OpenOffice.org の SDK を使う

English, Japanese), they contains some old information. Followings are the simple directions to create a new UNO-IDL project with Eclipse IDE.

  1. get the installation packages of OpenOffice.org 2.1 and OpenOffice 2.1 SDK from openoffice.org, and install them into your computer. Paths that do not contain white space are better to install them (e.g., "C:/opt/ooo" is better than "C:/Program Files/OpenOffice.org 2.1")
  2. install Eclipse plugin. Use Eclipse Update Manager (start Eclipse, select Help -> Software Update -> Find and Install) with this site.
  3. Create a new UNO-IDL project.
  4. Be sure that "types.rdb" should not be ignored if you manage source code and materials under some version control system (other files such as ".urd" files do not be needed to manage by it). "types.rdb" can be retrieved as the output of IDL compiration and regmerge, but it's not so easy.

No more installation processes are needed. Some tutorials say that a batch file should be run, but current SDK does not require it. If you want to run some tool such as UNO-IDL compiler (idlc.exe), add paths of the OpenOffice.org program directory (default: C:/Program Files/OpenOffice.org 2.1/program) and the OpenOffice.org SDK bin directory (default C:/Program Files/OpenOffice.org 2.1 SDK/windows/bin) to the Windows environmental variable.