UNO Objects, Functions and Services
Unifikuotų objekto tinklo funkcijos, objektai ir paslaugos.
LibreOffice Global Objects
Objektas StarDesktop reiškia „LibreOffice“ programą. Kai kurias įprastas programas ar vartotojo sąsajos objektus, pvz., dabartinį langą, galima naudoti naudojant StarDesktop.
Grąžina numatytąjį proceso paslaugų gamyklos kontekstą, jei toks yra, kitu atveju grąžina nulinę nuorodą.
Grąžina ProcessServiceManager (central Uno ServiceManager).
To manage personal or shared library containers (Application 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).
Sukuria „Basic Uno“ objektą, kuris nurodo „Uno“ dialogo valdiklį vykdant „Basic“ programą.
Sukuria klausytojo egzempliorių.
Instantiates a Uno service with the ProcessServiceManager.
Instantiates a UNO service with the ProcessServiceManager, including supplemental optional arguments.
Sukuria „Uno“ struktūros tipo egzempliorių.
Grąžina objektą, kuris reiškia griežtai įvestą reikšmę, nurodant „Uno“ tipo sistemą.
Returns True if the two specified Basic variables represent the same Uno object instance.
Testuoja, ar „Basic Uno“ objektas palaiko tam tikras „Uno“ sąsajas.
Grąžina „True“, jei nurodytas objektas yra „Uno“ struktūros.
Sukuria UNO objektą. „Windows“ sistemoje taip pat galite sukurti OLE objektus.
Šis metodas sukuria tipo, kuris perduodamas kaip parametras, egzempliorius.
„LibreOffice“ pateikia taikomųjų programų sąsają (API), kuri leidžia valdyti komponentus „LibreOffice“ su skirtingomis programavimo kalbomis, naudojant „LibreOffice“ programinės įrangos kūrimo rinkinį. Norėdami gauti daugiau informacijos apie „LibreOffice“ API ir programinės įrangos kūrimo rinkinį, apsilankykite https: //api.libreoffice .org