2020.2

Table Of Contents
Field Type Description
"template"
on page917
Template This object contains the template and all of its
contexts. It can be used to find out which contexts are
available in the template, using
merge.template.contexts (see "context" on
page926) and to manipulate the sections in those
contexts (see "section" on page935).
Pagination
The Pagination object that is accessed via the merge object (see "merge" on page945)
contains the total page count and sheet count of the entire Print context after pagination.
These properties are read-only and are only available in Post Pagination Scripts (see "Post
Pagination Scripts" on page433).
For information about where an element is located and the counts of pages and sheets in a
page bundle - a group of sections in which the page numbering continues - use "info()" on
page933.
For the total page count, sheet count and start/end page numbers of a single section, use the
section object's "Pagination" on page945 (see also: "section" on page935).
Field Type Description
pageCount Number The total number of pages in all Print sections together.
sheetCount Number
The total number of sheets in all Print sections together.
Page 947