|
|
|
|
- List of suggested words
- Checking the presence of the OpenOffice dictionary
SpellSuggest (Function) In french: OrthoSuggère Returns the list of possible words found in the dictionary of OpenOffice that can correct a word that is misspelled. // If the word is not found in the OpenOffice dictionary, proposes the closest words IF SpellAvailable() = True AND SpellCheck(Word) = False THEN ListSugg is string = SpellSuggest(Word) Info(Word + "? Don't you want to say <" + CR + ListSugg + CR + "> instead?" ) END
Syntax
<Result> = SpellSuggest(<Word to Check>)
<Result>: Character string Can correspond to: - The list of correct words close to the word to check. The list has the following format:
<Correct Word 1> + CR + <Correct Word 2> + CR + ... - An empty string ("") if no error occurred or if no proposition is available. If an error occurred, ErrorInfo is used to find out the reason for the error (if the dictionary of OpenOffice is not installed for instance).
<Word to Check>: Character string Word that must be checked by the spelling checker of OpenOffice. Remarks List of suggested words The list of suggested words corresponds to the list proposed by the dictionary of OpenOffice when a right click is performed on a misspelled word (in an edit control proposing the spelling checker for instance)). Checking the presence of the OpenOffice dictionary To find out whether the spelling checker of OpenOffice is installed on the current computer, use SpellAvailable.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|