Hi Denis,
denis escribió:
Hi,
after starting OpenOffice using bootstrap(), how do you get
notified when the connection terminates?
Is there a way to get the used bridge so that I could add an
event listener?
I would like to start a locally installed OpenOffice, establish a
connection to it and get notified when the connection is
terminated.
you will have to bootstrap the office not using the simple bootstrap
mechanism, but creating the bridge and adding a listener to it. See
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/UNO_Interprocess_Connections
and the example
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Example:_A_Connection_Aware_Client
or http://www.ArielConstenlaHaile.com.ar/ooo/temp/BridgedConnection.java
Regards
Ariel
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.ArielConstenlaHaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]