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.
рдпрджрд┐ рдЕрд╡рд╕реНрдерд┐рдд рднрдПрдорд╛ рд╕реЗрд╡рд╛ рдкреНрд░рдХреНрд░рд┐рдпрд╛ рдХрд╛рд░рдЦрд╛рдирд╛рдорд╛ рдкреВрд░реНрд╡рдирд┐рд░реНрдзрд╛рд░рд┐рдд рд╕рд╛рдорд╛рдЧреНрд░реА рдлрд░реНрдХрд╛рдЙрдБрдЫ, рдЕрдиреНрдпрдерд╛ реж рд╕рдиреНрджрд░реНрдн рдлрд░реНрдХрд╛рдЙрдБрдЫ ред
рдкреНрд░рдХреНрд░рд┐рдпрд╛ рд╕реЗрд╡рд╛ рд╡реНрдпрдмрд╕реНрдерд╛рдкрдХ(рдХреЗрдиреНрджреНрд░рд┐рдп Uno рд╕реЗрд╡рд╛ рд╡реНрдпрдмрд╕реНрдерд╛рдкрдХ) рдлрд░реНрдХрд╛рдЙрдБрдЫ ред
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 struct рднрдПрдХреЛ рдЦрдгреНрдбрдорд╛ рд╕рддреНрдп рдлрд░реНрдХрд╛рдЙрдБрдЫ ред
UNOрд╡рд╕реНрддреБ рд╕рд┐рд░реНрдЬрдирд╛ рдЧрд░реНрдиреБрд╣реЛрд╕реН
рдпреЛ рддрд░реАрдХрд╛рд▓реЗ рдкреНрд░рдХрд╛рд░рдХреЛ рдкрд░рд╛рдорд┐рд░рддрд┐рдХреЛ рд░реВрдкрдорд╛ рдкрд╛рд╕ рдЧрд░реЗрдХрд╛ рджреГрд╖реНрдЯрд╛рдиреНрддрд╣рд░реВ рд╕рд┐рд░реНрдЬрдирд╛ рдЧрд░реНрджрдЫ ред
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