after all, robert's problem was solved. he sent me the list of autocorrect 
entries exported from word, which was in the following format:

Name
Value
RTF
soemthing
something
False
wrod
word
False

and so on, with line breaks as carriage returns and with some entries like

:|
:|
True
:(
:(
True

which reduced to something useless during export.

to transfer this file to openoffice format, i performed the following 
find-and-replace operations with regular expressions enabled:

replace $ with ~ (took some five minutes without showing progress bar, so i had 
to be patient)
replace ([^~]*~[^~]*~)(True|False)~ with $1\n
replace ([^~]*)~([^~]*)~ with <block-list:block block-list:abbreviated-name="$1" 
block-list:name="$2"/>

and then added

<?xml version="1.0" encoding="UTF-8"?>
<block-list:block-list xmlns:block-list="http://openoffice.org/2001/block-list";>

to the beginning and

</block-list:block-list>

to the end of the file.

then i saved the file as utf-8-encoded text, called it 'DocumentList.xml' and 
added it to 'acor_.dat' (opened as a zip archive), replacing the old file with 
the same name. after that, all autocorrect entries started working fine.

-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org

Reply via email to