UNO Objects, Functions and Services

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

BasicLibraries Object

CreateUnoStruct Function

Creates an instance of a Uno structure type.

CreateUnoService Function

Instantiates a Uno service with the ProcessServiceManager.

CreateUnoDialog Function

Creates a Basic Uno object that represents a Uno dialog control during Basic runtime.

CreateUnoListener Function

рд▓рд┐рд╕рдирд░ рдЗрдВрд╕реНрдЯреИрдВрд╕ рддреИрдпрд╛рд░ рдХрд░рддрд╛ рд╣реИ.

CreateUnoValue Function

Returns an object that represents a strictly typed value referring to the Uno type system.

CreateObject Function

Creates a UNO object. On Windows, can also create OLE objects.

This method creates instances of the type that is passed as parameter.

EqualUnoObjects Function

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

CreateUnoService Function

Instantiates a Uno service with the ProcessServiceManager.

DialogLibraries Object

GetDefaultContext Function

Returns the default context of the process service factory, if existent, else returns a null reference.

GetProcessServiceManager Function

рд╕реЗ рдорд┐рд▓рддрд╛ рд╣реИ ProcessServiceManager (central Uno ServiceManager).

GlobalScope specifier

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

HasUnoInterfaces Function

рдЬрд╛рдБрдЪрддрд╛ рд╣реИ рдХрд┐ рдХреЛрдИ рдмреЗрд╕рд┐рдХ рдпреВрдПрдирдУ рд╡рд╕реНрддреБ рдХреБрдЫ рд╡рд┐рд╢рд┐рд╖реНрдЯ рдпреВрдПрдирдУ рдЗрдВрдЯрд░рдлрд╝реЗрд╕ рдХреЛ рд╕рдорд░реНрдерд┐рдд рдХрд░рддреЗ рд╣реИрдВ.

IsUnoStruct Function

рдпрджрд┐ рджреА рдЧрдИ рд╡рд╕реНрддреБ Uno struct рд╣реИ рддреЛ рд╕рд╣реА рдкреНрд░рд╛рдкреНрдд рд╣реЛрддрд╛ рд╣реИ

StarDesktop object

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

ThisComponent Object

Addresses the active component whose properties can be read and set, and whose methods can be called. ThisComponent is used in Basic, where it represents the current document. Properties and methods available through ThisComponent depend on the document type.

note

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 https://api.libreoffice.org