The StarDesktop object represents LibreOfficeDev application. Some routines or user interface objects such as current window can be used via StarDesktop.
GetDefaultContext palauttaa prosessin palvelutehtaan (factory) oletussisällön, jos se on olemassa, muuten palauttaa null-viitteen. (null tarkoittaa tyhjää)
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.
CreateObject luo UNO-olion. Windowsissa voidaan luoda myös OLE-objekti.
Tämä metodi luo ilmentymän, jonka tyyppi välitetään parametrissä.
LibreOfficeDev provides an Application Programming Interface (API) that allows controlling the LibreOfficeDev components with different programming languages by using the LibreOfficeDev Software Development Kit (SDK). For more information about the LibreOfficeDev API and the Software Development Kit, visit https://api.libreoffice.org