请输入您要查询的百科知识:

 

词条 Universal Network Objects
释义

  1. UNO for function-calling

  2. UNO for Add-Ons

  3. References

  4. External links

{{Use dmy dates|date=September 2017}}

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]

The Apache OpenOffice version of UNO is released under the terms Apache License (Version 2) 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 OpenOffice/LibreOffice. Those components can be added to the LibreOffice menus and toolbars; they are called "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. ^{{ cite web | url = http://svn.apache.org/repos/asf/openoffice/ooo-site/trunk/content/l10n/archive/Universal_i18n_framework.pdf | title = Universal I18n Framework for Office Applications: Technical Overview | first = Dieter | last = Loeschky | authorlink = |author2=Shanmugam Senthil | year = 2001 | publisher = Sun Microsystems | location = Palo Alto | pages = 1–26 [8] | format = PDF | accessdate = 18 May 2010 }}
2. ^{{cite web|url=http://holloway.co.nz/docvert/|title=Docvert - Office to Open Standards|last=|first=|date=|website=holloway.co.nz|publisher=Bronwyn Holloway-Smith|accessdate=20 September 2014}}
3. ^{{cite web|url=https://github.com/sbraconnier/jodconverter/wiki/Getting-Started|title=JODConverter|last=|first=|date=|website=jodconverter.com|publisher=|accessdate=5 September 2017}}
4. ^{{cite web|url=http://dag.wieers.com/home-made/unoconv/|title=DAG: unoconv: Convert between any document format supported by OpenOffice|last=|first=|date=|website=|publisher=Dag Wieërs|accessdate=20 September 2014}}
5. ^{{cite web|url=http://help.libreoffice.org/Common/Integrating_new_UNO_components|title=Integrating new UNO components|publisher=|accessdate=20 September 2014}}
6. ^{{cite web|url=http://www.jopendocument.org/|title=jOpenDocument Homepage. Open Document library|publisher=|accessdate=20 September 2014}}

External links

Apache OpenOffice
  • UNO Development Kit project page
  • Overview and technical details
  • Java overview-summary
  • OpenOffice.org Software Development Kit
  • [https://web.archive.org/web/20080501062521/http://odftoolkit.openoffice.org/transition.html ODF Toolkit: Transition Steps]
  • Developer's Guide
LibreOffice
  • see unoexe and unopkg
Language bridges (native for Java and Python)
  • UNO for Object REXX
  • UNO for PHP (written in C++)
{{OpenOffice}}{{Authority control}}

2 : Object-oriented programming|OpenOffice

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 15:34:35