2019.2

Table Of Contents
In other words, page numbering continues from the start of the first section to the end of the last
section in the group. (See "Configuring page numbers" on page501 and "Control Script: Page
numbering" on page888.)
The PaginationInfo object (as well as the info() function) is only available in Post Pagination
Scripts (see "Post Pagination Scripts" on page900). It is essential in a Post Pagination Script
that creates a table of contents, as described in the following topic: "Creating a Table Of
Contents" on page902.
For the total page count, sheet count and start/end page numbers of a single section, use the
section object's "Pagination" on page1404 (see also: "section" on page1395).
For the total page and sheet count of all Print sections together use the merge object's
"Pagination" on page1406 (see also: "merge" on page1405).
Field Type Description
pageCount Number The number of pages in the page bundle associated with the
section in which the first element of the results is located.
pageNo Number
The page number on which the first element of the results is
located.
"section"
on
page1395
Section The section in which the element is located. This is always a
Print section, since Post Pagination Scripts only operate on the
Print context.
sheetCount Number
The number of sheets in the page bundle associated with the
section in which the first element of the results is located.
sheetNo Number
The sheet number on which the first element of the results is
located.
results
The results object (type: QueryResults) is the result of the query for HTML elements that match
the selector of the script. The selector of a script can be specified in the Script Editor and is
visible in the second column of the Scripts pane, next to the name of the script.
Page 1389