PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Adds a word to the dictionary of OpenOffice:
  • for the instance of current application.
  • Versions 16 and later
    for all the applications.
    New in version 16
    for all the applications.
    for all the applications.
After this addition, the word will be considered as being correct by SpellCheck.
Note: Most of the controls found in a WINDEV application propose to use the spelling checker ("Check the spelling" in the "Details" tab of the control description).
Tip: SpellAddDictionary should be used in the initialization code of the project in order for some words such as the name of the application or terms specific to the application not to be considered as being incorrect by the spelling checker of OpenOffice.
Example
SpellAddDictionary("WINDEV")
SpellAddDictionary("WEBDEV")
Syntax
SpellAddDictionary(<Word to Add> [, <Scope>])
<Word to Add>: Character string (with quotes)
Word that must be added to the dictionary of Open Office.
Caution: The dictionary language to take into account must be configured by ConfigureSpellCheck.
<Scope>: Integer constant
Versions 16 and later
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 found in the popup 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.
New in version 16
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 found in the popup 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.
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 found in the popup 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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment