Language
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
doubleQuotes | string | r/w | The double quotes pair for the language. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
hyphenationVendor | string | r/w | The hyphenation rules source. |
icuLocaleName | string | readonly | The full name of the Language object's ICU locale. |
id | number | readonly | The unique ID of the Language. |
index | number | readonly | The index of the Language within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
name | string | readonly | The name of the Language. |
parent | Document | readonly | The parent of the Language (a Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
singleQuotes | string | r/w | The single quotes pair for the language. |
spellingVendor | string | r/w | The spell-checking source. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array
of Language getElements ()
Resolves the object specifier, creating an array of object references.
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the Language.
Element of
ChangeGrepPreference.appliedLanguage
ChangeTextPreference.appliedLanguage
ChangeTransliteratePreference.appliedLanguage
Character.appliedLanguage
CharacterStyle.appliedLanguage
FindGrepPreference.appliedLanguage
FindTextPreference.appliedLanguage
FindTransliteratePreference.appliedLanguage
InsertionPoint.appliedLanguage
Line.appliedLanguage
Paragraph.appliedLanguage
ParagraphStyle.appliedLanguage
Story.appliedLanguage
Text.appliedLanguage
TextColumn.appliedLanguage
TextDefault.appliedLanguage
TextStyleRange.appliedLanguage
Word.appliedLanguage
XmlStory.appliedLanguage
Used in:
Language Languages.nextItem (obj: Language)
Language Languages.previousItem (obj: Language)
Return
Array of Language Language.getElements ()
Language Languages.[] (index: number)
Language Languages.anyItem ()
Array of Language Languages.everyItem ()
Language Languages.firstItem ()
Language Languages.item (index: varies)
Language Languages.itemByID (id: number)
Language Languages.itemByName (name: string)
Array of Language Languages.itemByRange (from: varies, to: varies)
Language Languages.lastItem ()
Language Languages.middleItem ()
Language Languages.nextItem (obj: Language)
Language Languages.previousItem (obj: Language)
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |