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 (LibreOffice 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).

CreateUnoStruct Function

Vytvor├ş pr├şklad ┼ítrukt├║ry typu UNO.

CreateUnoService Function

Inicializuje Uno slu┼żbu s ProcessServiceManager.

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.

CreateUnoValue Function

Vr├íti objekt, ktor├Ż predstavuje striktne typov├║ hodnotu odkazuj├║ci na typ Uno.

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.

EqualUnoObjects Function

Vr├íti True, ak dva ur─Źen├ę Basic Uno objekty reprezentuj├║ rovnak├║ in┼ítanciu Uno objektu.

CreateUnoService Function

Inicializuje Uno slu┼żbu s ProcessServiceManager.

HasUnoInterfaces Function

Testuje, ─Źi objekt Basic Uno podporuje ur─Źit├ę Uno rozhrania.

IsUnoStruct Function

Vr├íti True, ak je dan├Ż objekt Uno struct.


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!