Written: June 27th, 2007, 4:10 (UTC) By: omer 0 comments
It has been rather a long while since my last post, and I apologize for the delay. I am often fool enough not to backup my work, and I had finally tempted fate one too many: my hard drive failed just as I turned my computer on to back up my work on the address book. Luckily, because of this blog, I only lost a couple of days of work, and while my Macbook was in for repair, I worked on my old Toshiba laptop (Ubuntu Linux/Windows XP dual-boot) to redo the work that I had lost.
Well, after some long days, and specifically a long day today (that resulted in one new line of code, I have an exciting new image for you:
There are several issues to fix with this version. Most obviously:
- Once the Address Book is opened, trying to close OpenOffice.org or hide data sources causes OOo to stop responding.
- Though it can handle UTF-8, only two-to-three characters of the Hebrew I tried to include in my address book showed up in OOo, and when I tried to copy-and-paste them into OOo Writer, they showed up as little squares.
- The driver, right now, considers everything a string, even though the Mac OS X Address Book and OOo can both accept multiple types, the ones that overlap being: string, timestamp, integer and real.
- Right now, all fields from the Mac OS X Address Book appear, in alphabetical order, and without nice labels (e.g., "Phone: _$!<Home>!$_" should probably be "Phone: Home").
These are the main things that I want to change over the rest of the summer, and if I have time, I am also toying with the idea of syncing the Mac OS X Address Book and OOo driver so that changes in one appear in the other (which would allow me to make the OOo fields editable). The framework for doing so is, as far as I can tell, already built into OOo, so I just have to understand it and modify my own code.
Anyway, once I figure out a couple of these (at least the first, so that OOo doesn't stop responding based on my code), I will probably start looking into integrating the code with aquavcl01 (the child workspace for the Aqua port of OpenOffice.org. I am very excited!
No comments yet.