ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Spelling Checker functions
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
Adds a word to the dictionary of OpenOffice:
  • for the instance of current application.
  • for all the applications.
After this addition, the word will be considered as being correct by SpellCheck.
Remark: Most controls in a WINDEV application offer the possibility to use the spelling checker ("Check spelling" in the "Details" tab of the control description).
Tip: It is recommended to use SpellAddDictionary in the "Initializing" event of the project. Thus, the OpenOffice spelling checker will not consider certain words as errors, such as the name of the application, and application-specific terms.
Example
SpellAddDictionary("WINDEV")
SpellAddDictionary("WEBDEV")
Syntax
SpellAddDictionary(<Word to Add> [, <Range>])
<Word to Add>: Character string
Word that must be added to the dictionary of Open Office.
Caution: The dictionary language to take into account must be configured by ConfigureSpellCheck.
<Range>: Integer constant
Scope of the addition into the dictionary. This parameter corresponds to one of the following constants:
spellScopePersistentThe word is added into the dictionary of OpenOffice.
This constant has the same effect as the "Add to dictionary" option in the context menu of AAF with spelling checker.
spellScopeProcess
(Default value)
The word is not added into the dictionary of OpenOffice.
Therefore, it will be still be displayed as "False" if the application is restarted.
Remarks
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