Translations:Macros/Python Guide/Calc/Calc sheets/54/en

From The Document Foundation Wiki
Jump to navigation Jump to search

desktop = app.create_instance('com.sun.star.frame.Desktop', True)

   path = 'private:factory/scalc'
   doc = desktop.loadComponentFromURL(path, '_default', 0, ())