ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Spelling Checker functions
  • List of suggested words
  • Checking the presence of the OpenOffice dictionary
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// 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.
Component: wd290obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help