Difference between revisions of "Extension Dictionaries"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Already provided configuration entries)
(Already provided configuration entries)
Line 7: Line 7:
  
  
*Spell checker entry
+
*'''Spell checker 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 27: Line 27:
 
</pre>
 
</pre>
  
*Hyphenator entry
+
*'''Hyphenator entry'''
 
<pre>
 
<pre>
 
<node oor:name="ServiceManager">
 
<node oor:name="ServiceManager">
Line 42: Line 42:
 
</pre>
 
</pre>
  
*Thesaurus entry
+
*'''Thesaurus entry'''
 
<pre>
 
<pre>
 
<node oor:name="ServiceManager">
 
<node oor:name="ServiceManager">

Revision as of 16:38, 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

  • Spell checker 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>

        ... entries for other spell checkers ...
    </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>

        ... entries for other hyphenators ...
    </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>

        ... entries for other thesauri ...
</node>

Required entries

Personal tools