OpenOffice Add-On Project Type
From Apache OpenOffice Wiki
Overview
The Add-On wizard will enable users to create a StarOffice component that including support of UI extensions. The component is based on a on a J2SE class library project and supports additional targets to create and deploy the package into the office installation. All interface methods are default implemented and do nothing. In a second step you can insert your implementation in the generated skeleton, rebuild the extension and deploy it again to see the effect in your office.