List Info

Thread: Interrupt document loading if it takes too long?




Interrupt document loading if it takes too long?
user name
2007-08-03 06:48:05
Hi,

I was wondering if there is any way to tell OOo to stop
loading a
document - i.e. XComponentLoader.loadComponentFromURL() -
after starting
the operation?

I drive OOo from Java/Uno, but some documents can take a
very long time
to load - see e.g.

  http://www.openoffice.org/issues/show_bug.cgi?id=78118


and in some applications it would be better to cancel the
operation
after a timeout and tell the user "sorry, this document
is unsupported"
rather than make the user wait for several minutes.

The only way I can think of is to terminate the OOo process.
Anybody has
a better idea?

Thanks

Mirko

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )