com.aspose.words
Class Hyphenation

java.lang.Object
    extended by com.aspose.words.Hyphenation

public class Hyphenation 
extends java.lang.Object

Enables hyphenation in documents.

Constructor Summary
Hyphenation()
          
 
Method Summary
static voidregisterDictionary(java.lang.String language, java.lang.String dictionaryPath)
           Registers a hyphenation dictionary for the specified language.
static voidunregisterDictionary(java.lang.String language)
           Unregisters a hyphenation dictionary for the specified language.
 

Constructor Detail

Hyphenation

public Hyphenation()

Method Detail

registerDictionary

public static void registerDictionary(java.lang.String language, java.lang.String dictionaryPath)
                                   throws java.lang.Exception
Registers a hyphenation dictionary for the specified language.
Parameters:
language - A language name, e.g. "en-US". See .NET documentation for "culture name" and RFC 4646 for details.
dictionaryPath - A path to the dictionary file in Open Office format. Can be null or empty to unregister dictionary.

unregisterDictionary

public static void unregisterDictionary(java.lang.String language)
                                     throws java.lang.Exception
Unregisters a hyphenation dictionary for the specified language.
Parameters:
language - A language name, e.g. "en-US". See .NET documentation for "culture name" and RFC 4646 for details.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.