UNO Objects, Functions and Services

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

BasicLibraries Object

Συνάρτηση CreateUnoStruct

Δημιουργεί την παρουσία ενός τύπου δομής Uno.

Συνάρτηση CreateUnoService

Κάνει έναρξη μιας υπηρεσία Uno με το ProcessServiceManager.

Συνάρτηση CreateUnoDialog

Δημιουργεί ένα αντικείμενο Basic Uno που αντιπροσωπεύει ένα παράθυρο διαλόγου στοιχείου ελέγχου Uno κατά τον χρόνο εκτέλεσης της Basic.

Συνάρτηση CreateUnoListener

Δημιουργεί ένα στιγμιότυπο ακροάσεως.

Συνάρτηση CreateUnoValue

Επιστρέφει ένα αντικείμενο που αντιπροσωπεύει μια αυστηρά δηλωμένη τιμή που αναφέρεται στο σύστημα τύπων Uno.

Συνάρτηση CreateObject

Δημιουργεί την παρουσία ενός τύπου δομής Uno. Στα Windows, μπορεί επίσης να δημιουργήσει τα αντικείμενα OLE

Αυτή η μέθοδος δημιουργεί στιγμιότυπα του τύπου που περνά ως παράμετρος.

Συνάρτηση EqualUnoObjects

Επιστρέφει την τιμή True, εάν τα δύο δεδομένα αντικείμενα Uno της Basic αντιπροσωπεύουν το ίδιο στιγμιότυπο αντικειμένου Uno.

Συνάρτηση CreateUnoService

Κάνει έναρξη μιας υπηρεσία Uno με το ProcessServiceManager.

DialogLibraries Object

Συνάρτηση GetDefaultContext

Επιστρέφει το προεπιλεγμένο περιεχόμενο του εργοστασίου υπηρεσιών διαδικασίας, εάν υπάρχει, αλλιώς επιστρέφει μια μηδενική αναφορά.

Συνάρτηση GetProcessServiceManager

Επιστρέφει τον ProcessServiceManager (κεντρικό Uno ServiceManager).

GlobalScope specifier

To manage personal or shared library containers (LibreOffice Macros or My Macros) from within a document, use the GlobalScope specifier.

Συνάρτηση HasUnoInterfaces

Ελέγχει αν ένα αντικείμενο Uno της Basic υποστηρίζει ορισμένες διεπαφές Uno.

Συνάρτηση IsUnoStruct

Επιστρέφει την τιμή True, αν το δεδομένο αντικείμενο είναι μια δομή Uno.

StarDesktop object

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

ThisComponent Object

Addresses the active component whose properties can be read and set, and whose methods can be called. ThisComponent is used in Basic, where it represents the current document. Properties and methods available through ThisComponent depend on the document type.

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