L'objecte StarDesktop representa l'aplicació LibreOffice. Determinades rutines i objectes de la interfície d'usuari, com ara la finestra actual, poden utilitzar-se mitjançant StarDesktop.
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.
Crea un objecte d'UNO. En el Windows, també pot crear objectes OLE.
Aquest mètode crea instàncies del tipus que es passa com a paràmetre.
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