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