Language

The language on which to base hyphenation rules and spell checking.

Properties

Property Type Access Description
doubleQuotes string r/w The double quotes pair for the language.
hyphenationVendor string r/w The hyphenation rules source.
id number readonly The unique ID of the Language.
index number readonly The index of the Language within its containing object.
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

string extractLabel (key:
string)
Gets the label value associated with the specified key.

Parameter Type Description
key string The key.

Array of LanguagegetElements ()
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.

string toSource ()
Generates a string which, if executed, will return the Language.

string toSpecifier ()
Retrieves the object specifier.

Used in:

Languages.previousItem (

obj:
Language )

Languages.nextItem (

obj:
Language )

Returned by:

Array of Language Language .getElements (

)

Language Languages.anyItem (

)

Array of Language Languages.everyItem (

)

Language Languages.firstItem (

)

Language Languages.item (
index:
any
)

Language Languages.itemByID (
id:
number
)

Language Languages.itemByName (
name:
string
)

Array of Language Languages.itemByRange (
from:
any, to:
any
)

Language Languages.lastItem (

)

Language Languages.middleItem (

)

Language Languages.nextItem (
obj:
Language
)

Language Languages.previousItem (
obj:
Language
)

Leave a Comment

Previous post:

Next post: