Stephan Bergmann wrote:
Hal Vaughan wrote:
[...]
1) Is there any reason OOo might not start from the environment created by the Runtime class even though it starts from the command line?

Reading through your description, sorry, I have no idea what could be the reason.

2) Is there an easy way to start OOo from within the Java OOo API? I don't think there was when I first studied this under 1.x, but I could have missed something. I'm self taught, so I do have trouble sometimes with following everything in documentation.

See <http://api.openoffice.org/docs/DevelopersGuide/ProfUNO/ProfUNO.xhtml#1_4_1_2_Transparent_Use_of_Office_UNO_Components>.

Stephan has pointed you already to the documentation and i would like to point you on our NetBeans plugin (available via the normal Update Center, NB 5.5 and 5.5.1). The plugin provides a UNO client application wizard that creates a Java client application with a code skeleton containing the UNO bootstrap call. The important and interesting part is that it out some glue code into the application jar file and extend the manifest that it supports the bootstrap mechanism. It's quite simple to use, try it out. The bootstrap mechanism works quite well with an OO.org build from the official OpenOffice site. I can't give any guarantee for any builds from Linux distributions but it should work as well.

Juergen



-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to