Hi Andreas, Andreas Schlüns wrote: > >>> >>> There are already interface supporting canceling of load requests. >>> css.frame.XFrameLoader and css.document.XFilter. >>> So it seams that only XComponentLoader needs some new functionality. >>> >> >> Interesting. Maybe there is a way to obtain a frame from the Desktop and >> then use XFrameLoader to load the document instead of using >> XComponentLoader then? > > Of course it is ... > > But then you will duplicate the whole code behind loadComponentFromURL(). > > And thats not so easy.
Right... it doesn't sound like a very sensible thing to do. ;-) I've submitted a feature request to enhance the API http://www.openoffice.org/issues/show_bug.cgi?id=80374 > >>>> The only way I can think of is to terminate the OOo process. >>>> Anybody has >>>> a better idea? >>> [...] >>> Solution b) Kill the office hardly. Then you will trigger the mechanism >>> behind AutoRecovery and CrashSave. Also not an option to be used realy. >>> >> >> What if OOo is started with -norestore and -nocrashreport? > > Data lost .-) > Its your decision. > I can live with that for my application, it's working on document copies anyway. I'll use this solution for the time being. Many thanks Mirko --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
