|
|
|
|
|
- Notes
- Identifier of languages
ConfigureSpellCheck (Function) In french: ParamètreOrthographe Configures the spelling checker for the edit controls and for the Table control columns in the whole application. You can specify the language for the spelling checker.
ConfigureSpellCheck(spellcheckEnabled, True)
ConfigureSpellCheck(spellcheckNation, nationEnglish)
IF ConfigureSpellCheck(spellcheckEnabled) = True THEN
Info("Le correcteur est activé")
END
Syntax
Configuring the spelling checker Hide the details
ConfigureSpellCheck(<Option> , <Value>)
<Option>: Integer constant Option for configuring the spelling checker of OpenOffice: | | spellcheckCheckerType | Allows you to select the type of checker used. If <Value> corresponds to: - spellingIntegratedCorrector the built-in spelling checker will be used for all Edit control input fields.
- spellingCorrectorOpenOffice OpenOffice spelling checker will be used for all Edit control fields.
| spellcheckEnabled | If <Value> corresponds to True, the spelling checker is enabled for all the edit controls of the application. Warning: The "Check spelling" option must be checked in the editor.. If <Value> corresponds to False, the spelling checker is disabled for all the edit controls of the application. | spellcheckNation | Specifies the dictionary language that will be used. <Value> can correspond to one of the constants used to identify the languages (see Remarks). The spell check will not be proposed if the dictionary is not installed. Note: This constant is only taken into account for spell checking with OpenOffice. |
<Value>: Variant Value of the configured option (see <Options>).
Finding out how the spelling checker was configured Hide the details
<Result> = ConfigureSpellCheck(<Option>)
<Result>: Variant Value of the requested option. <Option>: Integer Option for configuring the spelling checker of OpenOffice: | | spellcheckCheckerType | If <Result> corresponds to: - spellingIntegratedCorrector The built-in spelling checker is used for all Edit control input fields.
- spellingCorrectorOpenOffice OpenOffice spelling checker is used for all Edit control fields.
| spellcheckEnabled | If <Result> corresponds to True, the spelling checker of OpenOffice is enabled for all the edit controls of the application If <Result> corresponds to False, the spelling checker of OpenOffice is disabled for all the edit controls of the application. | spellcheckNation | Specifies the dictionary language that will be used. <Result> corresponds to a language identifier (see the Notes). |
Remarks Identifier of languages The identifiers of languages are as follows: | | | | Identifier | Constant | Language |
---|
1 | nationGerman | | German | 2 | nationAmerican | | American | 3 | nationEnglish | | English | 4 | nationAustralian | | Australian | 5 | nationFrench | | French | 6 | nationDanish | | Danish | 7 | nationSpanish | | Spanish | 8 | nationFinnish | | Finnish | 9 | nationFrenchCanadian | | French Canadian | 10 | nationIcelandic | | Icelandic | 11 | nationItalian | | Italian | 12 | nationDutch | | Dutch | 13 | nationNorwegian | | Norwegian | 14 | nationPortuguese | | Portuguese | 15 | nationBrazilianPortuguese | | Brazilian Portuguese | 16 | nationRussian | | Russian | 17 | nationSwedish | | Swedish | 18 | nationCzech | | Czech | 19 | nationArabic | | Arabic | 20 | nationBosniac | | Bosnian | 21 | nationBulgarian | | Bulgarian | 22 | nationTraditionalChinese | | Chinese | 23 | nationChinese | | Simplified Chinese | 24 | nationKorean | | Korean | 25 | nationCroatian | | Croatian | 26 | nationEstonian | | Estonian | 27 | nationGreek | | Greek | 28 | nationHebrew | | Hebrew | 29 | nationHungarian | | Hungarian | 30 | nationIrish | | Irish | 31 | nationJapanese | | Japanese | 32 | nationLatvian | | Latvian | 33 | nationLithuanian | | Lithuanian | 34 | nationPolish | | Polish | 35 | nationRomanian | | Romanian | 36 | nationSerbian | | Serbian | 37 | nationSlovak | | Slovakian | 38 | nationSlovenian | | Slovenian | 39 | nationThai | | Thai | 40 | nationTurkish | | Turkish | 41 | nationVietnamese | | Vietnamese | Custom languages | 201 | | | Language 1 | 202 | | | Language 2 | 203 | | | Language 3 | 204 | | | Language 4 | 205 | | | Language 5 | 206 | | | Language 6 | 207 | | | Language 7 | 208 | | | Language 8 | 209 | | | Language 9 | 210 | | | Language 10 | 211 | | | Language 11 | 212 | | | Language 12 |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|