Objets, fonctions et services UNO

Objets, fonctions et services de Unified Network Objects (UNO).

BasicLibraries Object

Fonction CreateUnoStruct

Crée une instance d'une structure de type Uno.

Fonction CreateUnoService

Crée une instance d'un service Uno à l'aide de ProcessServiceManager.

Fonction CreateUnoDialog

Crée un objet Uno Basic représentant un élément de contrôle de boîte de dialogue Uno lors de l'exécution de Basic.

Fonction CreateUnoListener

Crée une instance Listener.

Fonction CreateUnoValue

Renvoie un objet qui représente une valeur strictement saisie et faisant référence au système de type Uno.

Fonction CreateObject

Crée un objet UNO. Sous Windows, peut également créer des objets OLE.

Cette méthode crée des instances du type passé comme paramètre.

Fonction EqualUnoObjects

Renvoie True si les deux objets Uno Basic spécifiés représentent la même instance d'objet Uno.

Fonction CreateUnoService

Crée une instance d'un service Uno à l'aide de ProcessServiceManager.

DialogLibraries Object

Fonction GetDefaultContext

Rétablit le contexte par défaut du service de traitement, s'il existe ; sinon, renvoie une référence de valeur NULL.

Fonction GetProcessServiceManager

Renvoie le ProcessServiceManager (ServiceManager Uno central).

GlobalScope specifier

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

Fonction HasUnoInterfaces

Teste si un objet Uno Basic supporte certaines interfaces Uno.

Fonction IsUnoStruct

Renvoie True si l'objet donné est une classe struct Uno.

StarDesktop object

The StarDesktop object represents LibreOfficeDev 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

LibreOfficeDev provides an Application Programming Interface (API) that allows controlling the LibreOfficeDev components with different programming languages by using the LibreOfficeDev Software Development Kit (SDK). For more information about the LibreOfficeDev API and the Software Development Kit, visit https://api.libreoffice.org