request_dictionary method
request_dictionary(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 usingHyphenation.register_dictionary() methods.
If dictionary is unavailable for the specified language implementation can opt out of further calls for the same language
usingHyphenation.register_dictionary() with None
value.
def request_dictionary(self, language: str):
...
Parameter | Type | Description |
---|---|---|
language | str | A language name, e.g. “en-US”. See .NET documentation for “culture name” and RFC 4646 for details. |
Remarks
Exceptions thrown by this method will abort execution of page layout process.
See Also
- module aspose.words
- class IHyphenationCallback