UNO-Objekte, -Funktionen und -Dienste

Funktionen, Objekte und Dienste von Unified Network Objects (UNO).

BasicLibraries Object

Funktion CreateUnoStruct

Erstellt eine Instanz eines Uno-Strukturtyps.

Funktion CreateUnoService

Instanziert einen Uno service am ProcessServiceManager.

Funktion CreateUnoDialog

Erzeugt ein Basic-Uno-Objekt, das ein Uno-Dialog-Control zur Laufzeit des Basics repräsentiert.

Funktion CreateUnoListener

Instanziert einen Listener.

Funktion CreateUnoValue

Gibt ein Objekt zurück, das einen in Bezug auf das Uno-Typensystem strikt typisierten Wert darstellt.

Funktion CreateObject

Hiermit erzeugen Sie ein UNO-Objekt. Unter Windows können Sie auch OLE-Objekte erstellen.

Diese Methode erstellt Instanzen des Typs, der als Parameter übergeben wurde.

Funktion EqualUnoObjects

Gibt "True" zurück, wenn die beiden angegebenen Basic Uno-Objekte dieselbe Uno-Objektinstanz darstellen.

Funktion CreateUnoService

Instanziert einen Uno service am ProcessServiceManager.

DialogLibraries Object

Funktion GetDefaultContext

Gibt, falls vorhanden, den Standardkontext der Prozess-Service Factory zurück, andernfalls eine Nullreferenz.

Funktion GetProcessServiceManager

Gibt den ProcessServiceManager (zentraler Uno ServiceManager) zurück.

GlobalScope specifier

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

Funktion HasUnoInterfaces

Ermittelt, ob ein Basic-Uno-Objekt bestimmte Uno-Interfaces unterstützt.

Funktion IsUnoStruct

Gibt True zurück, wenn es sich bei dem angegebenen Objekt um eine Uno-Struct handelt.

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