Child pages
  • spellcheck

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}This plugin is a wrapper around the [RapidSpell|http://keyoti.com/products/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.{sub-section}\\ 

{table:id=|class=servoy sReturnTypes}{tr:style=height: 30px;}{th}Return Types{th}{tr}{tr}{td}{span:class=sWordList}[LANGUAGES]{span}{td}{tr}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}void{td}{td}[#checkTextComponent]\(textComponent)
Spellcheck the form element/component.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#checkTextComponent]\(textComponent, language)
Spellcheck the form element/component.{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=checkTextComponent-Object|class=node}{tr:id=name}{td}h6.checkTextComponent{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}checkTextComponent{span}{span:id=iets|style=float: left;}\(textComponent){span}{td}{tr}{tr:id=des}{td}{sub-section:checkTextComponent-Object_des|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_des|trigger=none|class=sIndent}Spellcheck the form element/component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:checkTextComponent-Object_snc|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:checkTextComponent-Object_prs|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_prs|trigger=none|class=sIndent}\{[Object]} textComponent
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:checkTextComponent-Object_ret|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:checkTextComponent-Object_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:checkTextComponent-Object_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:checkTextComponent-Object_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:checkTextComponent-Object_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:checkTextComponent-Object_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:checkTextComponent-Object_sam|trigger=none}{code:language=javascript}
// 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);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=checkTextComponent-Object_String|class=node}{tr:id=name}{td}h6.checkTextComponent{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}checkTextComponent{span}{span:id=iets|style=float: left;}\(textComponent, language){span}{td}{tr}{tr:id=des}{td}{sub-section:checkTextComponent-Object_String_des|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_String_des|trigger=none|class=sIndent}Spellcheck the form element/component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:checkTextComponent-Object_String_snc|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:checkTextComponent-Object_String_prs|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_String_prs|trigger=none|class=sIndent}\{[Object]} textComponent
\{[String]} language
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:checkTextComponent-Object_String_ret|text=|trigger=button}{sub-section}{sub-section:checkTextComponent-Object_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:checkTextComponent-Object_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:checkTextComponent-Object_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:checkTextComponent-Object_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:checkTextComponent-Object_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:checkTextComponent-Object_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:checkTextComponent-Object_String_sam|trigger=none}{code:language=javascript}
// 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);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}