The OpenOfficeDictionary class represents a dictionary that gets its content from a Hunspell Open Source dictionary. As with all dictionaries of type Dictionary, the content of the dictionary is only accessed when the dictionary is added to the TXSpell.Dictionaries collection. The first implementation loads a Hunspell Open Source dictionary from a file that is defined by a dictionary path. Using the dictionary name only without a file path, the corresponding dictionary file of the default dictionary folder is used. The second constructor loads a dictionary from string arrays that represent the content of a Hunspell Open Source dictionary and the corresponding affix file. It is recommended to create these arrays by using the encoding that is defined in the corresponding affix file represented by the "SET"-Flag. Using this implementation, it is also required to define the language of the dictionary by setting the System.Globalization.CultureInfo language parameter that sets the Proofing.Dictionary.Language property automatically. It is inherited from the abstract class Dictionary.
[C#] public sealed class OpenOfficeDictionary : Dictionary
[Visual Basic] Public NotInheritable Class OpenOfficeDictionary Inherits Dictionary