To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87672
                 Issue #|87672
                 Summary|autocorrect limit. acor.dat file crashes with entry 65
                        |214
               Component|Word processor
                 Version|OOo 2.4.0
                Platform|PC
                     URL|http://www.oooforum.org/forum/viewtopic.phtml?t=69983
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|editing
             Assigned to|mru
             Reported by|tommy27





------- Additional comments from [EMAIL PROTECTED] Mon Mar 31 19:28:27 +0000 
2008 -------
unfortunately it seem that autocorrect entries number is not infinite and a 
limit exist. 

i was able to calculate the exact number of entries inside my acor_it-IT.dat 
file as it follows: 
- open the .dat file with 7-Zip ( http://www.7-zip.org/ ) 
- extract the documentlist.xml and create a backup copy 
- open that documentlist.xml with OpenOffice Writer 
- do a series of search-and-replace-with-nothings to strip away the XML code to 
leave just a list of abbreviations and replacements 
- at the end of the operation a OOo window will tell you the total amount of 
search & replace done which correnspond to the total of autocorrect entries

i have 65213 entries. 
i believe this corrensponds to the upper limit OOo can handle (both with 2.3 
and 2.4 version). 

if you add another autoccorect entry while mispelling a word and you select the 
suggested autocorrect entry from the right-click menu something weird happens. 

the acor_it-IT.dat "implodes"... you loose all the previous 65213 corrections 
and you remain only with the last one you inserted (i had a backup copy so i 
did not loose it) 
the dat file that is 399 kb with 65213 entries, is then replaced by a new file 
with 57 kb size. 

it seems to me that something prevents OOo to handle more that 65213 per 
language. 
adding new corretcions to my acor_en-US.dat file (which has just few entries) 
has no effect on the acor_it-IT.dat file. 

so, i'm gonna ask you some help: 
- what is the cause of the acor.dat file crash?
- do you come up with any alternative method to keep adding new autocorrect 
entries for my italian language file without loosing the previossly inserted 
ones? (i know dictionaries have an upper limit of 2000 words, then you have to 
start a new dictionary; can i t be done the same for autocor files?) 

i uploaded here ( http://www.sendspace.com/file/nlpcqj ) my acor_it-IT.dat and 
documentlist.xml files if you wanna use them for testing. 

thank you for your help. 

----------------- 

Related topics: 

http://www.oooforum.org/forum/viewtopic.phtml?t=66128&start=15 

http://user.services.openoffice.org/en/forum/viewtopic.php?
f=7&t=3156&sid=82bd0184693e60dae5586893d33ec089

http://www.openoffice.org/servlets/ReadMsg?list=users&msgNo=176711

---------------------------------------------------------------------
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]

Reply via email to