Adobe InDesign CS2 (4.0) Object Model JS: DataMergeTextPlaceholder

InDesign CS2

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.
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.
storyOffsetnumber readonlyThe index of the character containing the table (from the beginning of the story).

Methods

Instances

Array of Object 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

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, 27-Jun-2010 v3.0.3dContents :: Index