|
|
|
|
|
- Overview
- Operating mode
- Integrated spelling checker
- OpenOffice spelling checker
Checking spelling in edit controls
WINDEV lets you use the spelling checker in the Edit controls and text columns of the Table controls of WINDEV applications. This spell check can be performed on the user computer: - with the integrated spelling checker.
- with Word or OpenOffice 2.0 (or later).
To use the integrated spelling checker: - Configure (if necessary) the project to use the integrated spell checking:
- Open the project description window. To do so, go to the "Project" tab, "Project" group, and click "Description".
- In the "Options" tab:
- Select the spelling checker "Integrated checker".
- Check "Automatically copy the dictionaries to the generation directory" to include the dictionaries with the executable. It is also possible to integrate the corresponding files into the application library.
- Validate.
- Load the different dictionaries needed via DictionaryLoad.
Note: English and French dictionaries are automatically loaded.. - Apply spell checking on the different controls of the application (edit control, column of Table control):
- check "Check spelling" in the "Details" tab of the control description window.
- use the CheckSpell property in the WLanguage code.
- use the ConfigureSpellCheck function in the WLanguage code.
To use the OpenOffice spelling checker: - Configure (if necessary) the project to use the spelling checker with OpenOffice:
- Open the project description window. To do so, go to the "Project" tab, "Project" group, and click "Description".
- On the "Options" tab, select "OpenOffice checker".
- Validate.
- Install OpenOffice on the end user's computer. For more details, see How to install OpenOffice 2.0?
- Install the OpenOffice dictionaries on the same computer. For more details, see How to install OpenOffice 2.0?
- Apply spell checking on the different controls of the application (edit control, column of Table control):
- check "Check spelling" in the "Details" tab of the control description window.
- use the CheckSpell property in the WLanguage code.
- use the ConfigureSpellCheck function in the WLanguage code.
Integrated spelling checker If the built-in spelling checker is used, spelling correction is automatically performed in input fields and table columns: words not present in the built-in dictionary are automatically underlined in red.. The context menu of the underlined word allows you to select one of the proposed words, or add the word to the dictionary.
The words that are added to the dictionary can be found in: "C:\Users\<User>\AppData\Roaming\PC SOFT\perso.dic". They can be edited and deleted if necessary. OpenOffice spelling checker Two spelling checkers can be proposed according to the word processor installed on the computer. If the word processor is Word, the Word spelling checker can be automatically started on the edit controls ("Spell check" in the context menu).
Note: This option is only available if Word is installed on the current workstation.. If OpenOfficeis used, spelling correction is automatically performed in input fields and table columns: words not present in the OpenOffice dictionary are automatically underlined in red.. The context menu of the underlined word allows you to select one of the proposed words, or add the word to the dictionary. Note: This option is only available if OpenOffice and its dictionary are installed on the current machine.. See the documentation about this software to install the dictionaries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|