Hi Mathias, thanks for the explanations, and one question:
> After discovering that the XCloseable API is not usable in Basic and Forgive me if that's a dumb question, but: Why? The only thing which comes to my mind is that you cannot throw an exception in Basic. If you could, you could use the Basic function createUnoListener (or so) to create a listener which vetoes. This to sounds like a limitation of the concrete UNO language binding for Basic, not like a limitation of the concept. What do I overlook? :) > A simple way to implement this is to create a helper object (a UNO > service) that registers as a CloseListener at the closeable object > (document) and always throws a CloseVetoExeception as long as it is > there, (hey, that's the pattern I implemented a while ago in pure C++, so I definately agree the need was there.) Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Database http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
