Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

StarDesktop object

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

Example:


        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)