Child pages
  • spellcheck

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{div:style=}
Wiki Markup
Div
styledisplay:none

DO

NOT

EDIT

THE

CONTENT

OF

THIS

PAGE

DIRECTLY

(EXCEPT

INSIDE

THE

DIV

BELOW

WITH

ID=DESCRIPTION),

UNLESS

YOU

KNOW

WHAT

YOU'RE

DOING.


THE

STRUCTURE

OF

THE

CONTENT

IS

VITAL

IN

BEING

ABLE

TO

AUTO

UPDATE

THE

CONTENT

THROUGH

THE

DOC

GENERATOR

{div} {div:id=description}{div}\\ {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:width=80px|padding=0px}{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:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=checkTextComponent-Object}{tr:id=name}{td}h6.checkTextComponent{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}checkTextComponent{span}{span}\(textComponent){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]} textComponent {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

.

Div
iddescription

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

Servoy ships with the following dictionaries by default:

  • Dutch
  • English
  • German
  • Italian
  • Spanish

For all 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.



HTML Table
id
classservoy sReturnTypes
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Return Types
Table Row (tr)
Table Cell (td)
Span
classsWordList
LANGUAGES



HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
checkTextComponent(textComponent)
Spellcheck the form element/component.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
checkTextComponent(textComponent, language)
Spellcheck the form element/component.



HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Details
Table Body (tbody)
idcheckTextComponent-Object
Table Row (tr)
idname
Table Cell (td)

checkTextComponent

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
checkTextComponent
Span
(textComponent)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Spellcheck the form element/component.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Object} textComponent
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
// 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}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idcheckTextComponent-Object_String
}{
Table Row (tr)
:
id
=
name
}{td}h6.checkTextComponent{td}{tr}{tr:id=sig}{td}{span:style=
Table Cell (td)

checkTextComponent

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right:
5px;
}
void
{span}{span:style=
Span
stylefont-weight:
bold;
}
checkTextComponent
{span}{span}\
Span
(textComponent,
language)
{span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]} textComponent \{[String]} language {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Spellcheck the form element/component.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Object} textComponent
{String} language
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
// 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}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)