PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 (with quotes)
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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment