Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using UNO to access Open Office

 
Pratik Shirsat
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to access a running excel sheet using UNO api for open office but i am not able to get the XComponent itself

I have tried the following code:




I am getting the following exception:


run:
Jul 16, 2010 6:18:24 PM openoffice.Main main
SEVERE: null
com.sun.star.comp.helper.BootstrapException: no office executable found!
at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:248)
at openoffice.Main.main(Main.java:49)


The line which is highlighted in Red is where Exception is occuring
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic