Class
Data merge options. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
DataMergeOption
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
centerImage | bool | r/w | If true, centers the image in the frame; preserves the frame size as well as content size and proportions. Note: If the content is larger than the frame, content around the edges is obscured by the bounding box of the frame. |
createNewDocument | bool | r/w | If true, creates a new document when records are merged. |
documentSize | number | r/w | The maximum number of pages per document. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
fittingOption | Fitting: Fitting.PROPORTIONAL Fitting.FIT_CONTENT_TO_FRAME Fitting.FIT_FRAME_TO_CONTENT Fitting.PRESERVE_SIZES Fitting.FILL_PROPORTIONAL |
r/w | Instructions for fitting content in a frame. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
linkImages | bool | r/w | If true, links images to the target document. If false, embeds images in the target document. |
parent | Application Document |
readonly | The parent of the DataMergeOption (a Application or Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
removeBlankLines | bool | r/w | If true, removes blank lines caused by empty fields. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of DataMergeOption getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the DataMergeOption.
Element of
Application.dataMergeOptions
Document.dataMergeOptions
Return
Array of DataMergeOption DataMergeOption.getElements ()
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |