Import/Export Text File into/from OOo Dictionary

This document contains a macro to import words from a text file into an OOo dictionary, or to export an OOo dictionary to a text file, so that it can be edited more easily. To run the macro, click the button below.

Import

Select the text file containing the words (use the ... button to browse) and the dictionary to import the words into, then click the Import button.

When the macro starts, it will display the number of words currently in the dictionary. When the macro has completed, it will display the updated number of words in the dictionary.

Notes

The text file should contain one word per line, with no empty lines.

The process can be quite slow when working with large dictionaries. However, the progress will be indicated.

Export

Enter a text file to export to (note that if the file already exists, it will be over-written - be careful!). Then click the Export button. The dictionary will be exported, one word per line. The dictionary can then be edited, and re-imported using the import macro.

When the macro has finished, it will display the number of words that have been exported.

Notes

If the text file to be exported to does not already exist, the path & file name must be entered manually. If the text file already exists, the ... button may be used to browse to it.

The process can be quite slow when working with large dictionaries. However, the progress will be indicated.

Word list files can be obtained from wordlist.sourceforge.net

Version Information

This is version 1.1 of OOo Dictionary Importer/Exporter

Licence

Copyright (c) 2004 Russ Phillips

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Russ Phillips

2004-04-07T10:00:59