An object that can contain a data merge text field.
Go to Property Listing | Method Listing
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Boolean, DataMergeField, EventListeners, Events, InsertionPoint, Number, Object, Story
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The data merge field to insert in the placeholder. For information, see data merge text placeholder and data merge image placeholder. |
||
readonly |
The index of the DataMergeTextPlaceholder within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The number of objects in the collection. |
||
readonly |
The parent of the DataMergeTextPlaceholder (a Document). |
||
readonly |
The story that contains the text. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
The insertion point before the table in the story containing the table. |
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
DataMergeTextPlaceholder getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the DataMergeTextPlaceholder.
String toSpecifier ()
Retrieves the object specifier.
DataMergeTextPlaceholders.add()
DataMergeTextPlaceholder.getElements()
DataMergeTextPlaceholders.anyItem()
DataMergeTextPlaceholders.everyItem()
DataMergeTextPlaceholders.nextItem()
DataMergeTextPlaceholders.previousItem()
DataMergeTextPlaceholders.item()
DataMergeTextPlaceholders.[]()
DataMergeTextPlaceholders.itemByRange()
DataMergeTextPlaceholders.firstItem()