Hi Mathias, > The migration of old base documents shouldn't edit the original document > rather then create a copy with the migrated informations. It is the > arbitration of the user to overwrite the old document.
Not sure about this. For my taste, recommending the user to backup the document before doing the migration should be sufficient. > So it would be nice, if there would be a new way to use a base document > as a external data source. Thus the new copy of the old base document > could link to the old base document as data source instead of copying > the tables into it. So the migration wizard would ask, if the data > source should be copied or only liked into the new base document. Nice try :), but accessing embedded HSQL as "external data source" is a completely different topic. > In my opinion the macro migration should do (at least) three things: > 1. Move the libraries from the embedded document to the main document > and rename the library so that the document name leads the old library > name: MyLibrary -> My_Form_MyLibrary. Thus all library names should be > distinct. Yes, something along those lines would have been on my plan, too. > 2. Replace all ThisComponent with ThisComponent.getByName( "My Form" ) > (or the new equivalent). This is already difficult - it would require analyzing the code. Without this analyzing, there's a potential to replace the wrong strings. Not very likely, probably, and thus perhaps better than not doing anything here. Not yet sure about this. > 3. Change the assignments of the macros to the events of the embedded > documents and there objects (forms, controls, frames, ...). Possible. Will do when time permits :). My definitive goal here is to reach 3.0. There's a number of "should have" and "nice to have" features which I'm absolutely willing to drop, if they make the difference between the overall feature hitting or not hitting the 3.0 feature deadline. We'll see. > But i can be this though is only for OOo Basic. Which should be our main concern. The spec tries to mention Basic macros and other-language scripts equally, but in reality, 99% will be Basic macros, probably. 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]
