2019.2

Table Of Contents
Field Type Description
on
page907
being merged.
Note! In Control Scripts, merge.section is not available.
To retrieve any section in a Control Script, use:
merge.template.contexts.ContextType.Section['Section
name']; (for example:
merge.template.contexts.PRINT.sections["Section EN"]).
In Post Pagination Scripts, only Print sections are available.
"template"
on
page891
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 page899) and to manipulate the sections in
those contexts (see "section" on page907).
Pagination
The Pagination object that is accessed via the merge object (see "merge" on the previous page)
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 page426).
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
page906.
For the total page count, sheet count and start/end page numbers of a single section, use the
section object's "Pagination" on page916 (see also: "section" on page907).
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 918