Skip to main content
.NET Framework 4.5.2+

OpenOfficeHyphenationDictionary Class

Represent an OpenOffice hyphenation dictionary.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v22.1.Core.dll

Declaration

public class OpenOfficeHyphenationDictionary :
    HyphenationDictionaryBase

Remarks

Use an OpenOfficeHyphenationDictionary class object to add an OpenOffice hyphenation dictionary to the component’s collection.

The OpenOffice hyphenation dictionary is a .dic file containing hyphenation patterns in a specific encoding. The file can contain information about the minimal hyphenation distance from the left and right word end (LEFTHYPHENMIN and RIGHTHYPHENMIN). Use the LeftHyphenMin and RightHyphenMin properties to change these parameters.

You can download dictionaries from the OpenOffice Extensions Page. Note that OpenOffice license terms can be unacceptable for commercial projects.

The code sample creates a new OpenOfficeHyphenationDictionary object and adds it to the component’s collection:

OpenOfficeHyphenationDictionary hyphenationDictionary = new OpenOfficeHyphenationDictionary("hyph_sl_SI.dic", new System.Globalization.CultureInfo("sl-Si"));
server.HyphenationDictionaries.Add(hyphenationDictionary);

The following code snippets (auto-collected from DevExpress Examples) contain references to the OpenOfficeHyphenationDictionary class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
HyphenationDictionaryBase
OpenOfficeHyphenationDictionary
See Also