public class LtDictionary extends Object
Constructor and Description |
---|
LtDictionary() |
Modifier and Type | Method and Description |
---|---|
void |
addIgnoredWord(String word)
Add a word to the List of ignored words
Used for ignore all in spelling check
|
void |
addWordToDictionary(String dictionaryName,
String word,
com.sun.star.uno.XComponentContext xContext)
Add a word to a user dictionary
|
String[] |
getUserDictionaries(com.sun.star.uno.XComponentContext xContext)
Get all user dictionaries
|
void |
removeIgnoredWord(String word)
Remove a word from the List of ignored words
Used for ignore all in spelling check
|
boolean |
removeLtDictionaries(com.sun.star.uno.XComponentContext xContext)
Remove the non permanent LT dictionaries
|
void |
removeWordFromDictionary(String dictionaryName,
String word,
com.sun.star.uno.XComponentContext xContext)
Add a word to a user dictionary
|
boolean |
setLtDictionary(com.sun.star.uno.XComponentContext xContext,
com.sun.star.lang.Locale locale,
LinguisticServices linguServices)
Add a non permanent dictionary to LO/OO that contains additional words defined in LT
|
public boolean setLtDictionary(com.sun.star.uno.XComponentContext xContext, com.sun.star.lang.Locale locale, LinguisticServices linguServices)
public boolean removeLtDictionaries(com.sun.star.uno.XComponentContext xContext)
public void addIgnoredWord(String word)
public void removeIgnoredWord(String word)
public void addWordToDictionary(String dictionaryName, String word, com.sun.star.uno.XComponentContext xContext)
public void removeWordFromDictionary(String dictionaryName, String word, com.sun.star.uno.XComponentContext xContext)
public String[] getUserDictionaries(com.sun.star.uno.XComponentContext xContext)