You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openoffice.apache.org by Robert Kingett <ki...@gmail.com> on 2014/03/25 17:56:57 UTC
autocorrect import
I was just wondering if there's a simple way I can import my autocorrect
entries from Microsoft word into open office, as I have cerebral palsy
and I use autocorrect as an adaptive tool and I don’t want to enter all
of the entries again.
--
Robert Kingett, Journalist
view my resume <http://resume.linkedinlabs.com/87kzm4utl>
view my writing archive
<https://docs.google.com/document/pub?id=1rASWYM_d-JajxmIKycBzVNgdwhJgUePAw1_IBFchglY>
view my website <http://www.robertkingett.com/>
view my blog <http://blindchicagodream.wordpress.com/>
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org
Re: autocorrect import
Posted by johnny smith <ka...@krovatka.su>.
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-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org
Re: autocorrect import
Posted by johnny smith <ka...@krovatka.su>.
On Tue, 25 Mar 2014 19:49:28 -0000, Robert Kingett <ki...@gmail.com> wrote:
> is it possible to do a teamviewer session? LOL I haveexported my
> autocorrect entries in word so perhaps that would help smeone. still
> can't get the copoy and replacething happening!
i'm not familiar with teamviewer, so it would take some time to install and hold a session. but if you have exported your autocorrect entries, you may send me the list and i will convert it to openoffice's format.
-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org
Re: autocorrect import
Posted by Robert Kingett <ki...@gmail.com>.
is it possible to do a teamviewer session? LOL I haveexported my
autocorrect entries in word so perhaps that would help smeone. still
can't get the copoy and replacething happening!
On 3/25/2014 1:09 PM, johnny smith wrote:
> On Tue, 25 Mar 2014 16:56:57 -0000, Robert Kingett
> <ki...@gmail.com> wrote:
>
>> I was just wondering if there's a simple way I can import my autocorrect
>> entries from Microsoft word into open office, as I have cerebral palsy
>> and I use autocorrect as an adaptive tool and I don’t want to enter all
>> of the entries again.
>
> all your autocorrect entries are contained in the files acor_.dat,
> acor_en-GB.dat, acor_zx-HK.dat etc, the path to which is listed under
> tools -> options -> openoffice.org -> paths. those files are indeed
> zip archives, so you can change their extension to .zip and browse
> their contents. in such an archive, find the file DocumentList.xml and
> open it as a text file. you will see your autocorrect entries for the
> respective language in xml format. if you have a list of all your
> autocorrect entries for ms word, you may add them all simultaneously
> using find-and-replace facilities of openoffice writer or ms notepad.
>
> as for obtaining the mentioned list of ms word's autocorrect entries,
> see word's options -> paths to know where word stores them.
> unfortunately, i don't have word at hand now and thus can't give
> further advice. i can check word's storage style tomorrow at work and
> write back with more details.
--
Robert Kingett, Journalist
view my resume <http://resume.linkedinlabs.com/87kzm4utl>
view my writing archive
<https://docs.google.com/document/pub?id=1rASWYM_d-JajxmIKycBzVNgdwhJgUePAw1_IBFchglY>
view my website <http://www.robertkingett.com/>
view my blog <http://blindchicagodream.wordpress.com/>
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org
Re: autocorrect import
Posted by johnny smith <ka...@krovatka.su>.
On Tue, 25 Mar 2014 16:56:57 -0000, Robert Kingett <ki...@gmail.com> wrote:
> I was just wondering if there's a simple way I can import my autocorrect
> entries from Microsoft word into open office, as I have cerebral palsy
> and I use autocorrect as an adaptive tool and I don’t want to enter all
> of the entries again.
all your autocorrect entries are contained in the files acor_.dat, acor_en-GB.dat, acor_zx-HK.dat etc, the path to which is listed under tools -> options -> openoffice.org -> paths. those files are indeed zip archives, so you can change their extension to .zip and browse their contents. in such an archive, find the file DocumentList.xml and open it as a text file. you will see your autocorrect entries for the respective language in xml format. if you have a list of all your autocorrect entries for ms word, you may add them all simultaneously using find-and-replace facilities of openoffice writer or ms notepad.
as for obtaining the mentioned list of ms word's autocorrect entries, see word's options -> paths to know where word stores them. unfortunately, i don't have word at hand now and thus can't give further advice. i can check word's storage style tomorrow at work and write back with more details.
-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org