Child pages
  • spellcheck
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

This plugin is a wrapper around the RapidSpell library offered by Keyoti.

Servoy ships with the English dictionary. For available additional languages, see http://keyoti.com/products/rapidspell/dictionaries.html .

Purchase of additional language dictionaries requires the license details for the library. Contact Servoy Sales for more information.


Return Types
LANGUAGES

Method Summary
void checkTextComponent(textComponent)
Spellcheck the form element/component.
void checkTextComponent(textComponent, language)
Spellcheck the form element/component.

Method Details
checkTextComponent
void checkTextComponent (textComponent)
Spellcheck the form element/component.
Parameters
{Object} textComponent
Returns
void
Sample
// The desired spellcheck provider and language are set via the SpellCheck Preference Page, in the Client Preferences.
// Spellchecking currently works in SmartClient only.
plugins.spellcheck.checkTextComponent(forms.actionDetails.elements.actionText);
// Optionally, the language can be sent as an argument to the function.
// The language string is provided from the language constants class, as in the sample below
// NOTE: the optional language, if provided, overrides the Preference Panel page setting, of the current SpellCheck provider (RapidSpell/Google).
// plugins.spellcheck.checkTextComponent(textInDutch, SpellCheck_Languages.DUTCH);
checkTextComponent
void checkTextComponent (textComponent, language)
Spellcheck the form element/component.
Parameters
{Object} textComponent
{String} language
Returns
void
Sample
// The desired spellcheck provider and language are set via the SpellCheck Preference Page, in the Client Preferences.
// Spellchecking currently works in SmartClient only.
plugins.spellcheck.checkTextComponent(forms.actionDetails.elements.actionText);
// Optionally, the language can be sent as an argument to the function.
// The language string is provided from the language constants class, as in the sample below
// NOTE: the optional language, if provided, overrides the Preference Panel page setting, of the current SpellCheck provider (RapidSpell/Google).
// plugins.spellcheck.checkTextComponent(textInDutch, SpellCheck_Languages.DUTCH);

  • No labels