To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=60698 Issue #:|60698 Summary:|user-dict format re-work ... Component:|Word processor Version:|680m148 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|PATCH Priority:|P3 Subcomponent:|code Assigned to:|mru Reported by:|mmeeks
------- Additional comments from [EMAIL PROTECTED] Tue Jan 17 04:35:01 -0800 2006 ------- So - the user-dictionary format looks (to me) like a text file written in a random binary file format for no good reason :-) So - wanting to be able to efficiently manipulate these files much more easily - I re-wrote the read/write pass to use a simple - but extensible tagged file header + string list body as now ie. my dicts look like this: OOoDICT1 lang: <none> type: positive --- furtivelyhutch sjkdhkjshfddksj Instead of this: [EMAIL PROTECTED]:/opt/OOInstall/share/wordbook/en-US> hexdump -C oldsun.dic 00000000 06 00 57 42 53 57 47 32 ff 00 00 07 00 41 64 61 |..WBSWG2.....Ada| 00000010 62 61 73 3d 0b 00 43 6f 6d 70 61 63 74 50 43 49 |bas=..CompactPCI| 00000020 3d 08 00 48 6f 74 4a 61 76 61 3d 0a 00 4a 61 76 |=..HotJava=..Jav| 00000030 61 42 65 61 6e 73 3d 08 00 4a 61 76 61 43 68 69 |aBeans=..JavaChi| 00000040 70 07 00 4a 61 76 61 4f 53 3d 06 00 4a 61 76 61 |p..JavaOS=..Java| 00000050 53 4d 0b 00 4a 61 76 61 53 74 61 74 69 6f 6e 05 |SM..JavaStation.| ... Which - incidentally - manages to share a 'magic' file number with: $ file oldsun.dic oldsun.dic: DBase 3 index file Presumably that's a mistake ? or is this really a DBase 3 index file ? :-) cf. $ file ~/.ooo-2.0/user/wordbook/standard.dic /home/michael/.ooo-2.0/user/wordbook/standard.dic: ASCII text Anyhow - I hope you'll concur that this is a pleasant improvement. Of course, the code is still backwards compatible etc. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
