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