Adobe InDesign CS2 (4.0) Object Model JS: DataMergeOption

InDesign CS2

Class

DataMergeOption

 Data merge options.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
DataMergeOption

Properties

PropertyTypeAccessDescription
centerImagebool r/wIf 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.
createNewDocumentbool r/wIf true, creates a new document when records are merged.
documentSizenumber r/wThe maximum number of pages per document.
fittingOptionFitting:
Fitting.PROPORTIONAL
Fitting.FIT_CONTENT_TO_FRAME
Fitting.FIT_FRAME_TO_CONTENT
Fitting.PRESERVE_SIZES
Fitting.FILL_PROPORTIONAL
r/wInstructions for fitting content in a frame.
linkImagesbool r/wIf true, links images to the target document. If false, embeds images in the target document.
parentApplication
Document
readonlyThe parent of the DataMergeOption (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
removeBlankLinesbool r/wIf true, removes blank lines caused by empty fields.

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 DataMergeOption.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.dataMergeOptions

Document.dataMergeOptions

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