Hi,

thank you for your answers.

Ariel Constenla-Haile wrote:
> denis escribió:
>> after starting OpenOffice using bootstrap(), how do you get
>> notified when the connection terminates?
> 
> you will have to bootstrap the office not using the simple bootstrap
> mechanism, but creating the bridge and adding a listener to it.

The problem I had was that (according to all examples I have
found) the manual way of creating the bridge always requires a
already running instance of OpenOffice.

Now I added a TerminateListener to the XDesktop object as Tobias
said.  This seems to be sufficient.

But now I have noticed that when using bootstrap(), OpenOffice
does not accept TCP/IP-connections anymore (I've changed
Setup.xcu so OO would normally listen on a port).

I managed to accept TCP-clients manually using
com.sun.star.connection.Acceptor.  But this way I have to create
my own thread and take care about the whole client managing which
seems to be very error-prone (currently I get random segfaults).

So my question is now: How do I start OO with bootstrap() and
still accept TCP/IP-clients?

Regards,
Denis


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com

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

Reply via email to