What is the Encoding of User-Defined Dictionaries?

Discuss setup / installation issues - Add a spell checker, Language pack?

What is the Encoding of User-Defined Dictionaries?

Postby skipidar » Fri Sep 25, 2009 6:02 pm

Hello, I would like to convert lists of words into user-defined dictionaries for spell-checking,
but I can't figure out the encoding of the .dic files in Open Office.

Do someone know the used encoding?
OpenOffice 3.1 on Windows Vista
skipidar
 
Posts: 2
Joined: Fri Sep 25, 2009 5:51 pm

Re: What is the Encoding of User-Defined Dictionaries?

Postby Hagar Delest » Fri Sep 25, 2009 9:48 pm

I remember that one: Sharing dictionary files.
AOO 4.1.6 on Xubuntu 19.04 and 4.1.5 on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28543
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: What is the Encoding of User-Defined Dictionaries?

Postby franx » Sat Sep 26, 2009 1:40 am

Hi,
there's also a macro which can execute that task →

OOo Dictionary Importer/Exporter
Import/Export Text File into/from OOo Dictionary
Author: Russ Phillips
Latest release: ImportExportDictionary1-1.zip Version 1.1 (June 21, 2004)

This macro has a GUI that makes it simple to import words from a text
file into an OOo dictionary, or to export an OOo dictionary to a text
file for easier editing.

(Please set Macro Security to Medium before starting the macro
Tools > Options > OpenOffice.org > Security > Macro security > Macro Security ... > [X] Medium)
LibreOffice 4.0.4 · WinXP
User avatar
franx
Volunteer
 
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: What is the Encoding of User-Defined Dictionaries?

Postby skipidar » Sun Oct 04, 2009 10:27 pm

Hello all,

thanks franx, this makro comes close to that, what i would like to have.

I found out, that user-defined dictionaries are compiled binary files. It' format is WBSWG6 - an specific Open Office thing.
The possibility of compiling own user-defined dictionaries seem no to exist yet,
some time ago there was an article (http://www.linux.com/archive/articles/51675), which included a "howto" about editing user-defined dictionaries manually but this didn't work for me on Windows, with Open Office 3.1.0

What I want, is editing user-defined dictionaries programmatically.

Its possible to convert OO Dic to any String, by opening it with UTF-8 encoding, and deleting all special characters.
I didn't find the possibility to turn a String to a user-defined dictionary yet. For that i need the possibility of compiling WBSWG6 Files.

I will try to contact the developers, and post everything i will find out.
OpenOffice 3.1 on Windows Vista
skipidar
 
Posts: 2
Joined: Fri Sep 25, 2009 5:51 pm


Return to Install, Setup and Troubleshooting

Who is online

Users browsing this forum: Google [Bot] and 3 guests