Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    OpenOfficeHyphenationDictionary Class

    Represent an OpenOffice hyphenation dictionary.

    Namespace: DevExpress.XtraRichEdit.API.Native

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

    NuGet Package: DevExpress.RichEdit.Core

    #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);
    

    #Inheritance

    Object
    HyphenationDictionaryBase
    OpenOfficeHyphenationDictionary
    See Also