UNO Objects, Functions and Services

Functions, objects and services of Unified Network Objects (UNO).

LibreOffice Global Objects

StarDesktop object

The StarDesktop object represents LibreOffice application. Some routines or user interface objects such as current window can be used via StarDesktop.

GetDefaultContext Function

Vr√°ti zańćiatońćn√Ĺ kontext process service factory, pokiańĺ existuje, inak vr√°ti null.

GetProcessServiceManager Function

Vr√°ti sluŇĺbu typu ProcessServiceManager (centr√°lny ServiceManager pre Uno).

GlobalScope specifier

To manage personal or shared library containers (Application Macros or My Macros) from within a document, use the GlobalScope specifier.

Active document Objects

The following objects can be used from the active document.

BasicLibraries Object

DialogLibraries Object

ThisComponent Object

ThisComponent represents the current document in Basic macros. It addresses the active component whose properties can be read and set, and whose methods can be called. Properties and methods available through ThisComponent depend on the document type.

ThisDatabaseDocument object

ThisDatabaseDocument addresses the active Base document whose properties can be read and set, and whose methods can be called.

ThisDatabaseDocument returns an object of type

UNO Methods

Use the following methods to manage or query Unified Network Objects (UNO).

CreateUnoDialog Function

Vytvor√≠ objekt typu Uno jazyka Basic, ktor√Ĺ predstavuje ovl√°dac√≠ prvok dial√≥gu typu Uno pońćas behu programu v jazyku Basic.

CreateUnoListener Function

Vytvorí príklad Listeneru.

CreateUnoService Function

Instantiates a Uno service with the ProcessServiceManager.

CreateUnoServiceWithArguments Function

Instantiates a UNO service with the ProcessServiceManager, including supplemental optional arguments.

CreateUnoStruct Function

Vytvor√≠ pr√≠klad Ň°trukt√ļry typu UNO.

CreateUnoValue Function

Vr√°ti objekt, ktor√Ĺ predstavuje striktne typov√ļ hodnotu odkazuj√ļci na typ Uno.

EqualUnoObjects Function

Returns True if the two specified Basic variables represent the same Uno object instance.

HasUnoInterfaces Function

Testuje, ńći objekt Basic Uno podporuje urńćit√© Uno rozhrania.

IsUnoStruct Function

Vr√°ti True, ak je dan√Ĺ objekt Uno struct.

CreateObject Function

Vytvor√≠ UNO objekt. Na Windows m√īŇĺe tieŇĺ vytvoriŇ• OLE objekty.

T√°to met√≥da vytvor√≠ pr√≠klad typu, ktor√Ĺ je odovzdan√Ĺ ako parameter.


LibreOffice provides an Application Programming Interface (API) that allows controlling the LibreOffice components with different programming languages by using the LibreOffice Software Development Kit (SDK). For more information about the LibreOffice API and the Software Development Kit, visit

Please support us!