StarDesktop object

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

Exemplo:


        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)
    

Precisamos da súa axuda!