Class
A data merge object.
getElements, mergeRecords, removeDataSource, selectDataSource, toSource, toSpecifier, updateDataSource
DataMerge
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
dataMergeFields | DataMergeFields | readonly | A collection of data merge fields. |
dataMergePreferences | DataMergePreference | readonly | The data merge preference properties that define the layout and content of the target page. |
parent | Document | readonly | The parent of the DataMerge (a Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
Array
of Object getElements ()
Resolves the object specifier, creating an array of object references.
void mergeRecords ([outputOversetReportFile:
File])
Merges records and produces an optional overset report.
Parameter | Type | Description |
---|---|---|
outputOversetReportFile | File | The path to the file in which to store the overset report. (Optional) |
void removeDataSource ()
Removes the data source.
void selectDataSource (dataSourceFile:
File)
Specifies the file to use as the data source.
Parameter | Type | Description |
---|---|---|
dataSourceFile | File | The path to the data source file. |
string toSource ()
Generates a string which, if executed, will return the DataMerge.
string toSpecifier ()
Retrieves the object specifier.
void updateDataSource ()
Updates the data source file with the most current data.
Element of
DataMergeField.parent
DataMergePreference.parent
Document.dataMergeProperties
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |