Adobe InDesign CS5 (7.0) Object Model JS: EPSTexts

InDesign CS5

Class

EPSTexts

 EPSTexts

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

EPSText anyItem ()
Returns any EPSText in the collection.

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

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

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

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

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

EPSText itemByID (id: number)
Returns the EPSText with the specified ID.

ParameterTypeDescription
idnumberThe ID.

EPSText itemByName (name: string)
Returns the EPSText with the specified name.

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromEPSText
Long Integer
String
The EPSText, index, or name at the beginning of the range. Can accept: EPSText, Long Integer or String.
toEPSText
Long Integer
String
The EPSText, index, or name at the end of the range. Can accept: EPSText, Long Integer or String.

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

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

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

ParameterTypeDescription
objEPSTextThe EPSText whose index comes before the desired EPSText.

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

ParameterTypeDescription
objEPSTextThe index of the EPSText that follows the desired EPSText.

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

Element of

Button.epstexts

Cell.epstexts

Character.epstexts

Document.epstexts

Footnote.epstexts

GraphicLine.epstexts

Group.epstexts

InsertionPoint.epstexts

Layer.epstexts

Line.epstexts

MasterSpread.epstexts

MultiStateObject.epstexts

Oval.epstexts

Page.epstexts

Paragraph.epstexts

PlaceGun.epstexts

Polygon.epstexts

Rectangle.epstexts

Snippet.epstexts

SplineItem.epstexts

Spread.epstexts

State.epstexts

Story.epstexts

Table.epstexts

Text.epstexts

TextColumn.epstexts

TextFrame.epstexts

TextStyleRange.epstexts

Word.epstexts

XmlStory.epstexts

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