com.aspose.words

Interface IHyphenationCallback

  • public interface IHyphenationCallback 

Implemented by classes which can register hyphenation dictionaries. Use this mehod

Method Summary
abstract voidrequestDictionary(java.lang.String language)
Notifies application that hyphenation dictionary for the specified language wasn't found and may need to be registered.

Implementation should find a dictionary and register it using RegisterDictionary methods.

If dictionary is unavailable for the specified language implementation can opt out of further calls for the same language using Hyphenation.registerDictionary(java.lang.String,java.lang.String) with null value.

 

    • Method Detail

      • requestDictionary

        public abstract void requestDictionary(java.lang.String language)
                                            throws java.lang.Exception
        Notifies application that hyphenation dictionary for the specified language wasn't found and may need to be registered.

        Implementation should find a dictionary and register it using RegisterDictionary methods.

        If dictionary is unavailable for the specified language implementation can opt out of further calls for the same language using Hyphenation.registerDictionary(java.lang.String,java.lang.String) with null value.

        Exceptions thrown by this method will abort execution of page layout process.
        Parameters:
        language - A language name, e.g. "en-US". See .NET documentation for "culture name" and RFC 4646 for details.