UNO Objects, Functions and Services
Functions, objects and services of Unified Network Objects (UNO).
Collabora Office Global Objects
The StarDesktop object represents Collabora Office application. Some routines or user interface objects such as current window can be used via StarDesktop.
Returnerar standardsammanhanget för fabrik för processtjänst, om sådant finns. Annars returneras en Null-referens.
Returnerar 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).
Skapar ett Basic Uno-objekt som representerar en Uno-dialogkontroll under Basic runtime.
Skapar en lyssnarinstans.
Instantiates a Uno service with the ProcessServiceManager.
Instantiates a UNO service with the ProcessServiceManager, including supplemental optional arguments.
Skapar en instans av en Uno-strukturtyp.
Returnerar ett objekt som representerar ett strikt skrivet värde som refererar till typsystemet Uno.
Returns True if the two specified Basic variables represent the same Uno object instance.
Testar om ett Basic Uno-objekt stöder vissa Uno-gränssnitt.
Returnerar True om det objekt som avses är en Uno-struct.
Skapar ett UNO-objekt. I Windows går det även att skapa OLE-objekt.
Den här metoden skapar instanser av den typ som skickas som parameter.
Collabora Office provides an Application Programming Interface (API) that allows controlling the Collabora Office components with different programming languages by using the Collabora Office Software Development Kit (SDK). For more information about the Collabora Office API and the Software Development Kit, visit https://api.libreoffice.org