The language on which to base hyphenation rules and spell checking.
Go to Property Listing | Method Listing
insertLabel, extractLabel, toSource, getElements, toSpecifier, addEventListener, removeEventListener
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
doubleQuotes |
read/write |
The double quotes pair for the language. |
|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
hyphenationVendor |
read/write |
The hyphenation rules source. |
|
|
icuLocaleName |
readonly |
The full name of the Language object's ICU locale. |
|
|
id |
readonly |
The unique ID of the Language. |
|
|
index |
readonly |
The index of the Language within its containing object. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
label |
read/write |
A property that can be set to any string. |
|
|
name |
readonly |
The name of the Language. |
|
|
parent |
readonly |
The parent of the Language (a Document). |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
singleQuotes |
read/write |
The single quotes pair for the language. |
|
|
spellingVendor |
read/write |
The spell-checking source. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
Language getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the Language.
String toSpecifier ()
Retrieves the object specifier.
TextDefault.appliedLanguage
Text.appliedLanguage
Character.appliedLanguage
Word.appliedLanguage
Line.appliedLanguage
TextColumn.appliedLanguage
Paragraph.appliedLanguage
TextStyleRange.appliedLanguage
InsertionPoint.appliedLanguage
Story.appliedLanguage
ParagraphStyle.appliedLanguage
XmlStory.appliedLanguage
CharacterStyle.appliedLanguage
FindTextPreference.appliedLanguage
FindGrepPreference.appliedLanguage
FindTransliteratePreference.appliedLanguage
ChangeTextPreference.appliedLanguage
ChangeGrepPreference.appliedLanguage
ChangeTransliteratePreference.appliedLanguage
Event.parent
EventListener.parent
MutationEvent.parent