Difference between revisions of "Extension Dictionaries"
From Apache OpenOffice Wiki
Line 4: | Line 4: | ||
file at upgrade (see [http://www.openoffice.org/issues/show_bug.cgi?id=72559 issue 72559]) we have to forsake the use of it and provide the necessary information about dictionaries in the configuration. | file at upgrade (see [http://www.openoffice.org/issues/show_bug.cgi?id=72559 issue 72559]) we have to forsake the use of it and provide the necessary information about dictionaries in the configuration. | ||
− | = | + | =Already provided configuration entries= |
− | + | *Spellchecker entry | |
A spell checker needs to make an entry stating it's implementation | A spell checker needs to make an entry stating it's implementation | ||
name and the format name of the data files it can use in the | name and the format name of the data files it can use in the | ||
Line 14: | Line 14: | ||
<code> | <code> | ||
− | + | <node oor:name="ServiceManager"> | |
− | + | <node oor:name="SpellCheckers"> | |
− | + | <node oor:name="org.openoffice.lingu.MySpellSpellChecker" oor:op="fuse"> | |
− | + | <prop oor:name="SupportedDictionaryFormats" oor:type="oor:string-list"> | |
− | + | <value>DICT_SPELL</value> | |
− | + | </prop> | |
− | + | </node> | |
− | + | </node> | |
− | + | </node> | |
</code> | </code> | ||
− | |||
− | ==Thesaurus entry | + | *Hyphenator entry |
+ | <code> | ||
+ | <node oor:name="ServiceManager"> | ||
+ | <node oor:name="Hyphenators"> | ||
+ | <node oor:name="org.openoffice.lingu.LibHnjHyphenator" oor:op="fuse"> | ||
+ | <prop oor:name="SupportedDictionaryFormats" oor:type="oor:string-list"> | ||
+ | <value>DICT_HYPH</value> | ||
+ | </prop> | ||
+ | </node> | ||
+ | </node> | ||
+ | </node> | ||
+ | </code> | ||
+ | |||
+ | *Thesaurus entry | ||
+ | <code> | ||
+ | <node oor:name="ServiceManager"> | ||
+ | <node oor:name="org.openoffice.lingu.new.Thesaurus" oor:op="fuse"> | ||
+ | <prop oor:name="SupportedDictionaryFormats" oor:type="oor:string-list"> | ||
+ | <value>DICT_THES</value> | ||
+ | </prop> | ||
+ | </node> | ||
+ | </node> | ||
+ | </code> | ||
− | = | + | =Required entries= |
Revision as of 16:25, 25 February 2008
Problem with current dictionary.lst file
In order to get rid of the problems involved with the dictionary.lst file at upgrade (see issue 72559) we have to forsake the use of it and provide the necessary information about dictionaries in the configuration.
Already provided configuration entries
- Spellchecker entry
A spell checker needs to make an entry stating it's implementation name and the format name of the data files it can use in the Linguistic.xcu. For the current Hunspell implementation in CWS tl41 it will look like:
<node oor:name="ServiceManager">
<node oor:name="SpellCheckers">
<node oor:name="org.openoffice.lingu.MySpellSpellChecker" oor:op="fuse">
<prop oor:name="SupportedDictionaryFormats" oor:type="oor:string-list">
<value>DICT_SPELL</value>
</prop>
</node>
</node>
</node>
- Hyphenator entry
<node oor:name="ServiceManager">
<node oor:name="Hyphenators">
<node oor:name="org.openoffice.lingu.LibHnjHyphenator" oor:op="fuse">
<prop oor:name="SupportedDictionaryFormats" oor:type="oor:string-list">
<value>DICT_HYPH</value>
</prop>
</node>
</node>
</node>
- Thesaurus entry
<node oor:name="ServiceManager">
<node oor:name="org.openoffice.lingu.new.Thesaurus" oor:op="fuse">
<prop oor:name="SupportedDictionaryFormats" oor:type="oor:string-list">
<value>DICT_THES</value>
</prop>
</node>
</node>