Adobe InDesign CS4 (6.0) Object Model JS: DataMergeTextPlaceholder

InDesign CS4

Class

DataMergeTextPlaceholder

 An object that can contain a data merge text field.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Document
DataMergeTextPlaceholder

Properties

PropertyTypeAccessDescription
fieldDataMergeField readonlyThe data merge field to insert in the placeholder. For information, see data merge text placeholder and data merge image placeholder.
indexnumber readonlyThe index of the DataMergeTextPlaceholder within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
lengthnumber readonlyThe number of objects in the collection.
parentDocument readonlyThe parent of the DataMergeTextPlaceholder (a Document).
parentStoryStory readonlyThe story that contains the text.
propertiesObject r/wA property that allows setting of several properties at the same time.
storyOffsetInsertionPoint readonlyThe insertion point before the table in the story containing the table.

Methods

Instances

Array of DataMergeTextPlaceholder getElements ()
Resolves the object specifier, creating an array of object references.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of DataMergeTextPlaceholder DataMergeTextPlaceholders.itemByRange (from: any, to: any)

DataMergeTextPlaceholder DataMergeTextPlaceholders.nextItem (obj: DataMergeTextPlaceholder)

DataMergeTextPlaceholder DataMergeTextPlaceholders.previousItem (obj: DataMergeTextPlaceholder)

Return

Array of DataMergeTextPlaceholder DataMergeTextPlaceholder.getElements ()

DataMergeTextPlaceholder DataMergeTextPlaceholders.[] (index: number)

DataMergeTextPlaceholder DataMergeTextPlaceholders.add (parentStory: Story, storyOffset: any, field: DataMergeField[, withProperties: Object])

DataMergeTextPlaceholder DataMergeTextPlaceholders.anyItem ()

Array of DataMergeTextPlaceholder DataMergeTextPlaceholders.everyItem ()

DataMergeTextPlaceholder DataMergeTextPlaceholders.firstItem ()

DataMergeTextPlaceholder DataMergeTextPlaceholders.item (index: any)

DataMergeTextPlaceholder DataMergeTextPlaceholders.itemByName (name: string)

Array of DataMergeTextPlaceholder DataMergeTextPlaceholders.itemByRange (from: any, to: any)

DataMergeTextPlaceholder DataMergeTextPlaceholders.lastItem ()

DataMergeTextPlaceholder DataMergeTextPlaceholders.middleItem ()

DataMergeTextPlaceholder DataMergeTextPlaceholders.nextItem (obj: DataMergeTextPlaceholder)

DataMergeTextPlaceholder DataMergeTextPlaceholders.previousItem (obj: DataMergeTextPlaceholder)

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