Adobe InDesign CS4 (6.0) Object Model JS: DataMergeOption

InDesign CS4

Class

DataMergeOption

 Data merge options. Base Class: Preference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
Preference
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.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
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 DataMergeOption 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

Return

Array of DataMergeOption DataMergeOption.getElements ()

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