UNO Objects, Functions and Services
Functions, objects and services of Unified Network Objects (UNO).
LibreOffice Global Objects
The StarDesktop object represents LibreOffice application. Some routines or user interface objects such as current window can be used via StarDesktop.
A process service factory alapértelmezett kontextusával tér vissza, ha létezik, egyébként egy nullreferenciát ad vissza.
Visszaadja a ProcessServiceManager (központi Uno ServiceManager) programot.
To manage personal or shared library containers (LibreOffice Macros or My Macros) from within a document, use the GlobalScope specifier.
Active document Objects
The following objects can be used from the active document.
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.
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).
Létrehozza egy Uno-struktúratípus egy példányát.
A ProcessServiceManager segítségével egy Uno-szolgáltatás hozható létre.
Létrehoz egy Basic Uno-objektumot, amely a Basic-futásidő alatt egy Uno-párbeszédablak-vezérlőelemet jelenít meg.
Létrehoz egy figyelőpéldányt.
Visszaad egy objektumot, amely egy olyan, szigorúan típusos változóértéket jelenít meg, amely az Uno-típusrendszerre hivatkozik.
Létrehoz egy UNO-objektumot. Windows esetén OLE-objektumot is létrehoz.
Ez a metódus a paraméterként kapott típusok példányait hozza létre.
Abban az esetben ad vissza True (igaz) értéket, ha a két megadott Uno-objektum ugyanazt az Uno-példányt testesíti meg.
A ProcessServiceManager segítségével egy Uno-szolgáltatás hozható létre.
Leellenőrzi, hogy egy Basic Uno-objektum támogat-e bizonyos Uno-felületeteket.
True (igaz) értéket ad vissza, ha a megadott objektum egy Uno-struktúra.
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