Hi Tobias,
> I have following problem. I wrote a little program that
converts
> documents in background, without showing a user
interface. If I have an
> active OO screen and close this, my conversion utility
crashes.
>
> My questing: how can I stop OO closing my conversion
tool?
>
> Please give me a hint.
when you close the "visible" Office the soffice
process ends, so I
suppose your conversion tool will run into a
DisposedException.
You could catch this exception and reconnect when it is
throws.
For the reconnect ... if you use the SimpleBootstrap
mechanism as used
in the SDK-samples then this will start the office and
connect ... if
you use a self written socket or pipe connection you'll
have to restart
the office.
Hope that helps
Regards
Stephan
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|