UNO-objekt, -funksjonar og -tenester

Funksjonar, objekt og tenester i UNO (Unified Network Objects = felles nettverksobjekt).

BasicLibraries Object

CreateUnoStruct-funksjonen

Creates an instance of a Uno structure type.

CreateUnoService Function

Instansierer ein UNO-service med ProcessServiceManager.

CreateUnoDialog-funksjonen

Lagar eit Basic Uno-objekt som representer ein Uno-dialogkontroll under køyring av Basic.

CreateUnoListener-funksjonen

Lagar ein lyttarinstans

CreateUnoValue-funksjonen

Returnerer eit objekt som inneheld ein nøyaktig innskrive verdi som refererer til typesystemet Uno.

CreateObject-funksjonen

Lagar eit UNO-objekt. Kan i Windows også laga OLE-objekt.

Denne metoden lagar førekomstar av typen som vert sendt som parameter.

EqualUnoObjects-funksjonen

Returnerer SANN viss dei to spesifiserte UNO-objekta er av same UNO obkjektførekomst.

CreateUnoService Function

Instansierer ein UNO-service med ProcessServiceManager.

DialogLibraries Object

GetDefaultContext-funksjonen

Returnerer standardsamanhengen for prosesstenestefabrikken viss denne finst, elles ein nullreferanse.

GetProcessServiceManager-funksjonen

Returnerer 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-funksjonen

Undersøker om eit Basic Uno-objekt har støtte for bestemte Uno-grensesnitt.

IsUnoStruct-funksjonen

Returnerer SANN viss det gjevne objektet er ein Uno-stuct.

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