Hi Mathias, >> This is forbidden already: The "Run Macro" dialog lists the global >> macros, plus the ones from the current document, nothing else. > > You still can execute the macros from "Tools-Macro-Organize".
Ah, right. I thought that was forbidden, too. I remember having seen some error dialog when you execute a macro contained in a non-active document, but I can't find it anymore (I supposed it was from the macro organizer). >> It is of course still possible to programmatically execute a macro which >> resides in a non-current document, and therein, ThisComponent points to >> the embedding doc, not the active one. > > Yes, this is the "old" concept. I thought you wanted to change that. And > in that case we would have a different behavior here. But that would be > bearable, IMHO. We could define that as "undefined". :-) > > So indeed your case is the only relevant case where both concept lead to > different behavior. If you think that the new concept fits better to > that (is that true and what will your users think about that?), we can > think about a change. I don't see any reason to change. All I described here was done quite some time ago (with being visible the first time in OOo 3.1), and when I did the implementation for macros in DB docs, I took big care to not change any ThisComponent related behavior for the other applications. I in fact think users would kill us if we would :) Ciao Frank -- - Frank Schönheit, Software Engineer [email protected] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
