2019.1

Table Of Contents
["ItemOrdered"]);
row.find('@ItemTotal@').text( record.tables['detail'][i].fields
["ItemTotal"]);
row.find('@ItemDesc@').text( record.tables['detail'][i].fields
["ItemDesc"]);
row.find('@nr@').text( i );
results.parent().append(row);
}
// Hide our boilerplate row (note that this doesn't really delete
the row).
results.hide();
sheetConfig
Sheet configuration settings are the Master Page, Media and Duplex printing options of
first/middle/last/single or all sheets in a Print section. The sheetConfig object holds these
options and can be used to set (or rather, override) them via a Control Script (see "Control
Scripts" on page828 and "Control Script API" on page1280). This is especially useful when
you need identical sections with different sheet configuration settings.
The sheetConfig object can be retrieved via the section object (see "section" on page1318);
see the example below.
Fields
The fields of the sheetConfig object correspond to settings in the Sheet Configuration dialog;
see "Sheet Configuration dialog" on page932.
Field Type Description
duplex Boolean
Enables or disables duplex (two-sided) printing.
facingPages Boolean (Only with duplex printing.) When facingPages is
set to true, the margins of the section switch
alternately, so that pages are printed as if in a
magazine or book.
mediaRotation Number Rotates the Media by 0, 90, 180, or -90 degrees.
Page 1299