Adobe InDesign CS (3.0) Object Model JS: Language

InDesign CS

Class

Language

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

QuickLinks

extractLabel, insertLabel

Hierarchy

Document
Language

Properties

PropertyTypeAccessDescription
doubleQuotesstring r/wThe double quotes pair for the language.
idnumber readonlyThe unique ID of the Language.
indexnumber readonlyThe index of the Language within its containing object.
labelstring r/wA property that can be set to any string.
namestring readonlyThe name of the Language.
parentDocument readonlyThe parent of the Language (a Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
singleQuotesstring r/wThe single quotes pair for the language.

Methods

Instances

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

ParameterTypeDescription
keystringThe key.

void insertLabel (key: string, value: string)
Sets the label to the value associated with the specified key.

ParameterTypeDescription
keystringThe key.
valuestringThe value.

Element of

ChangePreference.appliedLanguage

Character.appliedLanguage

CharacterStyle.appliedLanguage

FindPreference.appliedLanguage

InsertionPoint.appliedLanguage

Line.appliedLanguage

Paragraph.appliedLanguage

ParagraphStyle.appliedLanguage

Story.appliedLanguage

Text.appliedLanguage

TextColumn.appliedLanguage

TextDefault.appliedLanguage

TextStyleRange.appliedLanguage

Word.appliedLanguage

Jongware, 27-Jun-2010 v3.0.3dContents :: Index