Child pages
  • spellcheck

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
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
iddescription

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.



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);
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idcheckTextComponent-Object_String
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, language)
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);
Table Row (tr)
classlastDetailRow
Table Cell (td)