Page Number Fields
The value of total number of pages for a Document or Package is calculated after the text formatting and pagination is complete. When using these fields leave ample space in your design for the number to be displayed. When populated the field will not move the existing text or cause additional re-paginatation.
The page number and number of pages will always be calculated as 1 when HTML output is produced. The RenderType of these fields is set to HTMLF and will not create input tags that can be modified by user.
Table 4-6 Page Number Fields
Field | Purpose | Usage |
---|---|---|
DocumentPageNum |
This field will be populated with the page number of the current page of the current Document. | <comms-data>$Data{"Id":"DocumentPageNum"}</comms-data> |
PackagePageNum |
This field will be populated with the page number of the current page in the Package of Documents. This is a running page number across all Documents within the Package. | <comms-data>$Data{"Id":"PackagePageNum"}</comms-data> |
PackagePageCount |
This field will be populated with the count of the total number of pages in the Package. | <comms-data>$Data{"Id":"PackagePageCount"}</comms-data> |
DocumentPageCount |
This field will be populated with total number of pages in the Document. | <comms-data>$Data{"Id":"DocumentPageCount"}</comms-data> |