Stephan Wunderlich wrote:
> Hi John,
>
>> 1.) Most important: is there any way to suppress
the dialog so that OO
>> just goes away quietly without user intervention.
>
>
> you could start the office with the parameters
"-nocrashreport" and
> "-norestore" ... e.g.
>
> soffice.exe -accept=... -norestore -nocrashreport
>
>> 2.) Convenient: Is there any way to observe the
‘unrecoverable error’
>> event within our UNO library, so our driver would
know to retry the
>> text block.
>
>
> as soon as the office is gone this way your library
should run into a
> "com.sun.star.lang.DisposedException" as
soon as the next UNO-call is
> send ... this way you know when the office died
prematurely.
If you set up the UNO connection to the office without the
use of any
helpers (simple bootstrap, UnoUrlResolver; see the
Developer's Guide for
details), you have access to the connection's XBridge
object, which is
an XComponent on which you can listen for a disposed event
(which will
be sent when the connection is terminated, cleanly or
forcfully).
-Stephan
> Hope that helps
>
> Regards
>
> Stephan
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|