Adobe InDesign CS5.5 (7.5) Object Model JS: Preferences

InDesign CS5.5

Class

Preferences

 A collection of preferences objects.

See also Preference.

QuickLinks

[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Preference [] (index: number)
Returns the Preference with the specified index.

ParameterTypeDescription
indexnumberThe index.

Preference anyItem ()
Returns any Preference in the collection.

number count ()
Displays the number of elements in the Preference.

Array of Preference everyItem ()
Returns every Preference in the collection.

Preference firstItem ()
Returns the first Preference in the collection.

Preference item (index: varies)
Returns the Preference with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

Array of Preference itemByRange (from: varies, to: varies)
Returns the Preferences within the specified range.

ParameterTypeDescription
fromLong Integer
Preference
String
The Preference, index, or name at the beginning of the range. Can accept: Preference, Long Integer or String.
toLong Integer
Preference
String
The Preference, index, or name at the end of the range. Can accept: Preference, Long Integer or String.

Preference lastItem ()
Returns the last Preference in the collection.

Preference middleItem ()
Returns the middle Preference in the collection.

Preference nextItem (obj: Preference)
Returns the Preference whose index follows the specified Preference in the collection.

ParameterTypeDescription
objPreferenceThe Preference whose index comes before the desired Preference.

Preference previousItem (obj: Preference)
Returns the Preference with the index previous to the specified index.

ParameterTypeDescription
objPreferenceThe index of the Preference that follows the desired Preference.

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

Element of

Application.preferences

Book.preferences

Button.preferences

ChangeGrepPreference.preferences

ChangeObjectPreference.preferences

ChangeTextPreference.preferences

ChangeTransliteratePreference.preferences

Character.preferences

ContentTransparencySetting.preferences

DataMerge.preferences

Document.preferences

EPS.preferences

EPSText.preferences

FillTransparencySetting.preferences

FindChangeContentTransparencySetting.preferences

FindChangeFillTransparencySetting.preferences

FindChangeStrokeTransparencySetting.preferences

FindChangeTransparencySetting.preferences

FindGrepPreference.preferences

FindObjectPreference.preferences

FindTextPreference.preferences

FindTransliteratePreference.preferences

FormField.preferences

Graphic.preferences

GraphicLine.preferences

Group.preferences

Image.preferences

ImportedPage.preferences

InsertionPoint.preferences

Line.preferences

Link.preferences

MasterSpread.preferences

MediaItem.preferences

Movie.preferences

MultiStateObject.preferences

NamedGrid.preferences

ObjectStyle.preferences

Oval.preferences

PDF.preferences

PICT.preferences

Page.preferences

PageItem.preferences

PageItemDefault.preferences

Paragraph.preferences

ParagraphStyle.preferences

Polygon.preferences

Rectangle.preferences

Sound.preferences

SplineItem.preferences

Spread.preferences

Story.preferences

StrokeTransparencySetting.preferences

Text.preferences

TextColumn.preferences

TextDefault.preferences

TextFrame.preferences

TextStyleRange.preferences

TextVariable.preferences

TextWrapPreference.preferences

TransparencySetting.preferences

WMF.preferences

Word.preferences

XmlStory.preferences

Jongware, 28-Apr-2012 v3.0.3iContents :: Index