UNO Objects, Functions and Services

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

BasicLibraries Object

Funkce CreateUnoStruct

Vytvoří instanci typu Uno structure.

Funkce CreateUnoService

Inicializuje Uno službu s ProcessServiceManager.

Funkce CreateUnoDialog

Vytvoří objekt typu Uno jazyka Basic, který představuje ovládací prvek dialogu typu Uno v průběhu programu jazyka Basic.

Funkce CreateUnoListener

Vytvoří instanci Listener.

Funkce CreateUnoValue

Vrátí objekt, který představuje striktně typovou hodnotu odkazující na typ Uno.

Funkce CreateObject

Vytvoří UNO objekt. Na Windows může vytvořit také OLE objekty.

Tato metoda vytvoří instanci typu, který je předán jako parametr.

Funkce EqualUnoObjects

Vrátí True, pokud dva určené Basic Uno objekty představují stejnou instanci Uno objektu.

Funkce CreateUnoService

Inicializuje Uno službu s ProcessServiceManager.

DialogLibraries Object

Funkce GetDefaultContext

Vrátí výchozí kontext process service factory, pokud existuje, jinak vrátí null.

Funkce GetProcessServiceManager

Vrátí službu typu ProcessServiceManager (centrální ServiceManager pro Uno).

GlobalScope specifier

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

Funkce HasUnoInterfaces

Testuje, zda objekt Basic Uno podporuje určitá rozhraní Uno.

Funkce IsUnoStruct

Vrátí True, je-li daný objekt 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.

Objekt ThisComponent

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