| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/shared/guide/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Integrating new UNO components</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for all modules" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="bm_id3149760"></a><meta itemprop="keywords" content="add-ons, see UNO components">
<meta itemprop="keywords" content="UNO components,integrating new">
<meta itemprop="keywords" content="installing,UNO components">
<h1 id="hd_id3149760" dir="auto">
<a name="integratinguno"></a>Integrating new UNO components
</h1>
<p id="par_id3147571" class="paragraph" dir="auto">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".</p>
<p id="par_id3154751" class="paragraph" dir="auto">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:</p>
<ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3153748" class="listitem" dir="auto">Register the new components within LibreOffice. This can be accomplished using the tool <span class="literal">unopkg</span>, which can be found in {installpath}<span id="swlnsystextsharedguideintegratingunoxml_1" class="switchinline"><span hidden="true" id="UNIXtextsharedguideintegratingunoxml_1" class="UNIX">/
</span><span hidden="true" id="defaulttextsharedguideintegratingunoxml_1">\</span></span>program.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3153345" class="listitem" dir="auto">Integrate the new components as services. The ProtocolHandler and JobDispatch services assist you; more information can be found in the LibreOffice Developer's Guide.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3166460" class="listitem" dir="auto">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.</p>
</li>
</ol>
<p id="par_id3151110" class="paragraph" dir="auto">The Add-Ons can extend the functionality of LibreOffice. They are not related to the <span id="swlnappltextsharedguideintegratingunoxml_2" class="switchinline"><span hidden="true" id="CALCtextsharedguideintegratingunoxml_2" class="CALC"><a target="_top" href="en-US/text/scalc/01/04060112.html">Add-Ins</a>
</span><span hidden="true" id="defaulttextsharedguideintegratingunoxml_2">Add-Ins</span></span> that provide new functions for LibreOffice Calc.</p>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/shared/guide/integratinguno.xhp" target="_blank">/text/shared/guide/integratinguno.xhp</a></p>
<p dir="auto">Title is: Integrating new UNO components</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>