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.
āϝāĻĻāĻŋ āĻŦāĻŋāĻĻā§āϝāĻŽāĻžāύ āĻĨāĻžāĻā§, āĻĒā§āϰāĻā§āϰāĻŋāϝāĻŧāĻž āϏāĻžāϰā§āĻāĻŋāϏ āĻĢā§āϝāĻžāĻā§āĻāϰāĻŋāϰ āĻĒā§āϰā§āĻŦāύāĻŋāϰā§āϧāĻžāϰāĻŋāϤ āĻŦāĻŋāώāϝāĻŧāĻŦāϏā§āϤ⧠āĻĒā§āϰāĻĻāĻžāύ āĻāϰā§, āĻ
āύā§āϝāĻĨāĻžā§ āĻāĻāĻāĻŋ āĻĢāĻžāĻāĻāĻž āϰā§āĻĢāĻžāϰā§āύā§āϏ āĻĒā§āϰāĻĻāĻžāύ āĻāϰā§āĨ¤
ProcessServiceManager (āĻā§āύā§āĻĻā§āϰāĻŋā§ 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).
āĻāĻāĻāĻŋ āĻŦā§āϏāĻŋāĻ Uno āĻŦāϏā§āϤ⧠āϤā§āϰāĻŋ āĻāϰāĻž āĻšā§ āϝāĻž āĻŦā§āϏāĻŋāĻ āϰāĻžāύāĻāĻžāĻāĻŽā§āϰ āϏāĻŽā§ āĻāĻāĻāĻŋ Uno āĻĄāĻžāϝāĻŧāĻžāϞāĻ āĻāĻĒāϏā§āĻĨāĻžāĻĒāύ āĻāϰā§āĨ¤
āϞāĻŋāϏā§āύāĻžāϰā§āϰ āĻĻā§āώā§āĻāĻžāύā§āϤ āϤā§āϰāĻŋ āĻāϰāĻž āĻšā§āĨ¤
Instantiates a Uno service with the ProcessServiceManager.
Instantiates a UNO service with the ProcessServiceManager, including supplemental optional arguments.
Uno āĻāĻ āύ āϧāϰāύā§āϰ āĻĻā§āώā§āĻāĻžāύā§āϤ āϤā§āϰāĻŋ āĻāϰāĻž āĻšā§āĨ¤
āĻāĻāĻāĻŋ āĻŦāϏā§āϤ⧠āĻĒā§āϰāĻĻāĻžāύ āĻāϰ⧠āϝāĻž Uno āĻāĻžāĻāĻĒ āĻĒāĻĻā§āϧāϤāĻŋāϤ⧠āĻāϞā§āϞā§āĻāĻŋāϤ āϏāĻ āĻŋāĻāĻāĻžāĻŦā§ āĻāĻžāĻāĻĒāĻā§āϤ āĻŽāĻžāύā§āϰ āϏā§āϏā§āĻĒāώā§āĻ āĻŦā§āϝāĻžāĻā§āϝāĻž āĻĒā§āϰāĻĻāĻžāύ āĻāϰā§āĨ¤
Returns True if the two specified Basic variables represent the same Uno object instance.
āϝāĻĻāĻŋ āĻŦā§āϏāĻŋāĻ Uno āĻŦāϏā§āϤ⧠āĻāĻŋāĻā§ āύāĻŋāϰā§āĻĻāĻŋāώā§āĻ Uno āĻāύā§āĻāĻžāϰāĻĢā§āϏ āϏāĻŽāϰā§āĻĨāύ āĻāϰ⧠āϤāĻžāĻšāϞ⧠āĻĒāϰā§āĻā§āώāĻž āĻāϰāĻž āĻšā§āĨ¤
āϝāĻĻāĻŋ āĻĒā§āϰāĻĻāϤā§āϤ āĻŦāϏā§āϤ⧠Uno srtuct āĻšā§ āϤāĻžāĻšāϞ⧠True āĻĒā§āϰāĻĻāĻžāύ āĻāϰ⧠āĻĨāĻžāĻā§āĨ¤
UNO āĻŦāϏā§āϤ⧠āϤā§āϰāĻŋ āĻāϰāĻž āĻšā§āĨ¤ āĻāĻāύā§āĻĄā§āĻā§āĻ, OLE āĻ
āĻŦāĻā§āĻā§āĻ āϤā§āϰāĻŋ āĻāϰāĻž āϝāĻžā§āĨ¤
āĻāĻ āĻŽā§āĻĨāĻĄāĻāĻŋ āĻāĻāĻāĻŋ āϧāϰāύā§āϰ āĻāύā§āϝ āĻĻā§āώā§āĻāĻžāύā§āϤ āϤā§āϰāĻŋ āĻāϰ⧠āϝāĻž āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰ āĻšāĻŋāϏā§āĻŦā§ āĻĒāĻžāϏ āĻāϰāĻž āĻšāϝāĻŧāĨ¤
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