okya danke ...habe es so hinbekommen: noa in workspace exportiert und dann den namen des entpackten ordners als neues Projekt hinzugefügt:
habe ich noch angepasst
[code=Java] private final static String OPEN_OFFICE_ORG_PATH = "C:\\Programme\\OpenOffice.org 3"; [/code]
Leider kommt so ne Fehlermeldung:
07.12.2010 22:51:32 ag.ion.bion.officelayer.internal.application.connection.LocalOfficeConnection openConnection
INFO: Opening local OpenOffice.org connection.
ag.ion.bion.officelayer.document.DocumentException: URL seems to be an unsupported one.
at ag.ion.bion.officelayer.internal.document.DocumentService.loadDocument(DocumentService.java:253)
at Snippet10.main(Snippet10.java:83)
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101)
at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136)
at $Proxy3.loadComponentFromURL(Unknown Source)
at ag.ion.bion.officelayer.internal.document.DocumentLoader.loadDocument(DocumentLoader.java:226)
at ag.ion.bion.officelayer.internal.document.DocumentLoader.loadDocument(DocumentLoader.java:116)
at ag.ion.bion.officelayer.internal.document.DocumentLoader.loadDocument(DocumentLoader.java:92)
at ag.ion.bion.officelayer.internal.document.DocumentService.loadDocument(DocumentService.java:246)
... 1 more
Was kann ich machen ???