File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Using UNO to access Open Office Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using UNO to access Open Office" Watch "Using UNO to access Open Office" New topic
Author

Using UNO to access Open Office

Pratik Shirsat
Greenhorn

Joined: Jul 21, 2010
Posts: 8
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using UNO to access Open Office