Oggetto StarDesktop

L'oggetto StarDesktop rappresenta l'applicazione LibreOffice. Alcune routine od oggetti dell'interfaccia utente, come la finestra attiva, si possono utilizzare tramite StarDesktop.

Esempio:


        Dim docURL As String
        Dim doc As Object, docProperties()
        docURL = ConvertToURL("C:\My Documents\example.odt")
        Rem com.sun.star.frame.Desktop
        doc = StarDesktop.LoadComponentFromURL(docURL, "_blank", 0, docProperties)
    

Sosteneteci!