Difference between revisions of "Extension Dictionaries"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New configuration entries)
(Already provided configuration entries)
Line 13: Line 13:
 
will look like:
 
will look like:
  
<code>
+
<pre>
 
<node oor:name="ServiceManager">
 
<node oor:name="ServiceManager">
 
     <node oor:name="SpellCheckers">
 
     <node oor:name="SpellCheckers">
Line 23: Line 23:
 
     </node>
 
     </node>
 
</node>
 
</node>
</code>
+
</pre>
  
 
*Hyphenator entry
 
*Hyphenator entry
<code>
+
<pre>
 
<node oor:name="ServiceManager">
 
<node oor:name="ServiceManager">
 
     <node oor:name="Hyphenators">
 
     <node oor:name="Hyphenators">
Line 36: Line 36:
 
     </node>
 
     </node>
 
</node>
 
</node>
</code>
+
</pre>
  
 
*Thesaurus entry
 
*Thesaurus entry
<code>
+
<pre>
 
<node oor:name="ServiceManager">
 
<node oor:name="ServiceManager">
 
         <node oor:name="org.openoffice.lingu.new.Thesaurus" oor:op="fuse">
 
         <node oor:name="org.openoffice.lingu.new.Thesaurus" oor:op="fuse">
Line 47: Line 47:
 
         </node>
 
         </node>
 
</node>
 
</node>
</code>
+
</pre>
  
 
=Required entries=
 
=Required entries=

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

Required entries

Personal tools