Integrating new UNO components

From LibreOffice Help
Jump to: navigation, search

Programmers can write and integrate their own UNO (Universal Network Objects) components to LibreOffice. Those new components can be added to the LibreOffice menus and toolbars; we call them "Add-Ons".

The integration of new components is supported by some tools and services. Details can be found in the LibreOffice Developer's Guide. The three main steps are as follows:

  1. Register the new components within LibreOffice. This can be accomplished using the tool unopkg, which can be found in {installpath}\/program.
  2. Integrate the new components as services. The ProtocolHandler and JobDispatch services assist you; more information can be found in the LibreOffice Developer's Guide.
  3. Change the user interface (menus or toolbars). This can be done almost automatically by writing an XML text file that describes the changes. More information can be found in the LibreOffice Developer's Guide.

The Add-Ons can extend the functionality of LibreOffice. They are not related to the When in Calc: Add-InsAdd-Ins that provide new functions for LibreOffice Calc.