UNO Objects, Functions and Services

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

Oxetos globales de LibreOffice

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

Devuelve'l contestu predetermináu del serviciu de procesos de fábrica, si hai; de lo contrario, devuelve una referencia nula.

GetProcessServiceManager Function

Devuelve'l ProcessServiceManager (central Unu ServiceManager).

GlobalScope specifier

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

Oxetos del documentu activu

The following objects can be used from the active document.

Oxetu BasicLibraries

Oxetu DialogLibraries

Oxetu ThisComponent

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.

Oxetu ThisDatabaseDocument

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 com.sun.star.sdb.XOfficeDatabaseDocument.

UNO Methods

Use the following methods to manage or query Unified Network Objects (UNO).

CreateUnoDialog Function

Crea un oxetu Basic Unu que representa un control de diálogu Unu mientres el tiempu d'execución de Basic.

CreateUnoListener Function

Crea un casu de Listener.

CreateUnoService Function

Instantiates a Uno service with the ProcessServiceManager.

Función CreateUnoServiceWithArguments

Instantiates a UNO service with the ProcessServiceManager, including supplemental optional arguments.

CreateUnoStruct Function

Crea un exemplu d'estructura de tipu Unu.

CreateUnoValue Function

Devuelve un oxetu que representa un valor de tipu estrictu y que se refier al sistema de tipos Uno.

EqualUnoObjects Function

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

HasUnoInterfaces Function

Comprueba si un oxetu Basic Unu almite ciertes interfaces Unu.

IsUnoStruct Function

Devuelve True si l'oxetu dáu ye una estructura Unu.

CreateObject Function

Crea un oxetu UNO. En Windows, tamién pue crear oxetos OLE.

Esti métodu crea casos del tipu que se pasa como parámetru.

note

LibreOffice ufre una Interfaz de Programación d'Aplicaciones (API) que permite controlar los componentes de LibreOffice con diferentes llinguaxes de programación usando' Paquete de Desendolcu de Software (SDK) de LibreOffice. Pa más información sobro la API de LibreOffice ya'l Paquete de Desendolcu de Software (SDK), visita http://api.libreoffice.org


Please support us!