From: Roger B. <ro...@ro...> - 2004-05-04 03:15:55
|
> Right now, I am using hard-coded Mozilla address-book columns to > export, There are field definitions in the pdc files in the resources directory. They use the names from the importexport module to define the fields, which is why a mapping table is needed. > I just have to > write the code to output the CSV to a file. As you surmised, that is fairly easy. > Other than that, the only > remaining thing to do is write the gui and put in user-defined options > as you listed above. The gui is definitely the hard part. Please put your code in the importexport module and structure it in the same way as the import dialog. You can probably steal some code from the import dialog as well (such as getting the list of pre-defined column sets). Don't worry about trying to share code between them yet. Get it working first, and then worry about a common parent class and stuff like that. > If you want, I can attach the stuff I have done, > so if anyone wants to test the parsing routines. I guess I'll do that > when I have it able to save to a file. That would be good. Roger |