2021.2

Table Of Contents
Post Pagination Script API
The table below lists the functions and objects that are only available in Post Pagination
Scripts. Click through to the object to find a description and sample scripts.
See "Post Pagination Scripts" on page929 for information about this kind of scripts, how to
insert them and what you can do with them.
Note
Post Pagination Scripts only apply to the Print context. These functions and objects
cannot be used with other contexts.
Tip
It is possible to define a function in a Control Script which calls these functions, as long
as that function is only invoked from a Post Pagination Script.
Object or function Usage
merge.context."query
(selector)" on page1446
Call merge.context.query(selector) to run a query
across all sections in the Print context.
merge.section."paginate()"
on page1464
A call to merge.section.paginate() triggers
pagination of the current section. Note: section is
assumed to refer to a variable that holds a Section object
(see "Retrieving a section" on page1454).
merge.section.pagination Used to get the total page count, sheet count and start/end
page numbers for a single section. See "Pagination" on
page1465. Note: section is assumed to refer to a variable
that holds a Section object (see "Retrieving a section" on
page1454).
merge.pagination Used to get the total page count, sheet count and start/end
page numbers for all sections in the Print context after
pagination. See "Pagination" on page1467.
Page 1443