Setup Extension Development Environment
Install OpenOffice.org Program and SDK
OpenOffice.org program and SDK can be installed through package manager program, such as apt-get (aptitude in Ubuntu), yum, and pacman. Also, several GUI font-end for package manager programs are available to make installation easier. On Ubuntu, Synaptic is good choice. YumEx is the best option on Fedora.
- Ubuntu: Synaptic locates at System -> Administration -> Synaptic Package Manager. Package Name: openoffice.org and openoffice.org-dev.
- Fedora: YumEx does not come with distribution. It is needed to be installed manually.
Note: On Ubuntu, if you use OpenOffice.org program that comes with distribution, and try to install SDK that is downloaded from OpenOffice.org website, you may encounter dependency issue. You should the SDK that come with distribution.
Install NetBean, and OpenOffice.org Extension Development Plugin
NetBean can be installed through package manager as well. After installation, you can install development plugin in NetBean. Lunch NetBean, select Plugins under Tool menu. Then switch to Available Plugins tab, and install OOo API plugin. Finally, select Options under Tool menu, and go to Miscellaneous -> OOo API Plugins tab. Fill in the path to OpenOffice.org program and SDK.
Path to OpenOffice.org Program and SDK
- Ubuntu:
- /usr/lib/openoffice
- /usr/lib/openoffice/basis3.2/sdk
- Mint:
- /usr/lib/openoffice
- /usr/lib/openoffice/basis3.2/sdk