UNO Objects, Functions and Services

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

Collabora Office Global Objects

StarDesktop object

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

GetDefaultContext Function

프로세스 서비스 팩터리의 기본 콘텍스트(있을 경우)를 반환하고 그렇지 않으면 Null 참조를 반환합니다.

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 대화 상자 콘트롤을 나타내는 Basic Uno 개체를 만듭니다.

CreateUnoListener Function

리스너 인스턴스를 만듭니다.

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 구조일 경우 True를 구합니다.

CreateObject Function

UNO 개체를 만듭니다. Windows에서는 OLE 개체를 만들 수도 있습니다.

이 메소드는 매개 변수로 전달되는 유형 인스턴스를 만듭니다.

note

Collabora Office provides an Application Programming Interface (API) that allows controlling the Collabora Office components with different programming languages by using the Collabora Office Software Development Kit (SDK). For more information about the Collabora Office API and the Software Development Kit, visit https://api.libreoffice.org


Please support us!