Functions, objects and services of Unified Network Objects (UNO).
The StarDesktop object represents Office application. Some routines or user interface objects such as current window can be used via StarDesktop.
Returns the default context of the process service factory, if existent, else returns a null reference.
Returns the ProcessServiceManager (central Uno ServiceManager).
To manage personal or shared library containers (Application Macros or My Macros) from within a document, use the GlobalScope specifier.
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.
Use the following methods to manage or query Unified Network Objects (UNO).
Creates an instance of a Uno structure type.
Instantiates a Uno service with the ProcessServiceManager.
Creates a Basic Uno object that represents a Uno dialog control during Basic runtime.
Creates a Listener instance.
Returns an object that represents a strictly typed value referring to the Uno type system.
Creates a UNO object. On Windows, can also create OLE objects.
This method creates instances of the type that is passed as parameter.
Returns True if the two specified Basic variables represent the same Uno object instance.
Instantiates a Uno service with the ProcessServiceManager.
Tests if a Basic Uno object supports certain Uno interfaces.
Returns True if the given object is a Uno struct.
Office provides an Application Programming Interface (API) that allows controlling the Office components with different programming languages by using the Office Software Development Kit (SDK). For more information about the Office API and the Software Development Kit, visit https://api.libreoffice.org