UNO Objects, Functions and Services

Functions, objects and services of Unified Network Objects (UNO).

LibreOffice Global Objects

StarDesktop object

The StarDesktop object represents LibreOffice application. Some routines or user interface objects such as current window can be used via StarDesktop.

GetDefaultContext Function

ត្រឡប់​បរិបទ​លំនាំដើម​របស់​រោងចក្រ​សេវា​ប្រតិបត្តិការ ប្រសិន​បើ​មាន ផ្សេង​ពី​នោះ​ត្រឡប់​សេចក្ដីយោង​គ្មាន​សោះ ។

GetProcessServiceManager Function

ត្រឡប់ ProcessServiceManager (Uno ServiceManager កណ្តាល) ។

GlobalScope specifier

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.

BasicLibraries Object

DialogLibraries Object

ThisComponent Object

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 object

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).

CreateUnoDialog Function

បង្កើត​វត្ថុ Basic Uno ដែល​តំណាង​ឲ្យ​វត្ថុ​បញ្ជា​ប្រអប់ Uno កំឡុង​ពេល​ពេល​រត់ Basic ។

CreateUnoListener Function

បង្កើត​វត្ថុ Listener មួយ ។

CreateUnoService Function

Instantiates a Uno service with the ProcessServiceManager.

CreateUnoServiceWithArguments Function

Instantiates a UNO service with the ProcessServiceManager, including supplemental optional arguments.

CreateUnoStruct Function

បង្កើត​វត្ថុ​មួយ​របស់​ប្រភេទ​រចនាសម្ព័ន្ធ Uno ។

CreateUnoValue Function

ត្រឡប់​វត្ថុ​មួយ​ដែល​តំណាង​ឲ្យ​តម្លៃ​ដែល​បាន​វាយ​យ៉ាង​តឹងរ៉ឹង ដែល​យោង​ទៅ​ប្រព័ន្ធ​ប្រភេទ Uno ។

EqualUnoObjects Function

Returns True if the two specified Basic variables represent the same Uno object instance.

HasUnoInterfaces Function

ពិសោធន៍​បើ​វត្ថុ Basic Uno គាំទ្រ​ចំណុច​ប្រទាក់ Uno ពិត​ប្រាកដ ។

IsUnoStruct Function

ត្រឡប់ ពិត បើ​វត្ថុ​ដែល​បាន​ផ្តល់​គឺ​ជា​រចនា​សម្ព័ន្ធ Uno មួយ ។

CreateObject Function

បង្កើត​វត្ថុ UNO មួយ ។ នៅ​លើ​វីនដូ ក៏​អាច​បង្កើតវត្ថុ OLE បានដែរ ។

ជម្រើស​ការ​ចែក​រំលែក​ឯកសារ​សម្រាប់​ឯកសារ​នេះ

note

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


Please support us!