Jump to content

Universal Network Objects

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frietjes (talk | contribs) at 16:16, 5 July 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Universal Network Objects (UNO) is the component model used in the OpenOffice.org and LibreOffice computer software application suites. It is interface-based and designed to offer interoperability between different programming languages, object models and machine architectures, on a single machine, within a LAN or over the Internet.

Users can implement or access UNO components from any programming language for which a language binding exists. Complete UNO language bindings exist for C++ (compiler-dependent), Java, Object REXX, Python, and Tcl . Bindings allowing access, but not writing, to components exist for StarOffice Basic, OLE Automation and the .NET Common Language Infrastructure.

Universal Network Objects operate within the UNO Runtime Environment (URE).[1]

UNO is released under the terms GNU Lesser General Public License (LGPL) as free and open source software.

UNO for function-calling

Examples: an external program can export an ODT file as a PDF file, or import and convert a DOCX, calling LibreOffice by the UNO interface. Another external program can access a cell and formulas from LibreOffice Calc file.

Application examples: Docvert,[2] JODConverter,[3] unoConv.[4]

UNO for Add-Ons

Programmers can write and integrate their own UNO components to LibreOffice. Those components can be added to the LibreOffice menus and toolbars; we call them "Add-Ons".[5] The Add-Ons can extend the functionality of LibreOffice.

The integration of new components is supported by some tools and services. The three main steps are as follows:[5]

  1. Register the new components within LibreOffice. This can be accomplished using the tool unopkg.
  2. Integrate the new components as services. The ProtocolHandler and JobDispatch services assist you.
  3. Change the user interface (menus or toolbars). This can be done almost automatically by writing an XML text file that describes the changes.

Application example: jOpenDocument.[6]

References

  1. ^ Loeschky, Dieter (2001). "Universal I18n Framework for Office Applications: Technical Overview" (PDF). Palo Alto: Sun Microsystems. pp. 1–26 [8]. Retrieved 2010-05-18. {{cite web}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  2. ^ Docvert project, new version implemented with Python and XSLT.
  3. ^ JODConverter project implemented as Java jODconverter and Python pyODconverter
  4. ^ http://dag.wieers.com/home-made/unoconv/
  5. ^ a b See http://help.libreoffice.org/Common/Integrating_new_UNO_components
  6. ^ http://www.jopendocument.org/

OpenOffice:

LibreOffice:

Language bridges (native for Java and Python):