2022.2

Table Of Contents
Object or func-
tion
Usage
merge.section."paginate()"on
page1312
Acalltomerge.section.paginate()triggerspaginationofthecurrentsection.Note:sectionisassumedtorefer
toavariablethatholdsaSectionobject(see"Retrievingasection"onpage1306).
merge.section.pagination Usedtogetthetotalpagecount,sheetcountandstart/endpagenumbersforasinglesection.See"Pagination"
onpage1313.Note:sectionisassumedtorefertoavariablethatholdsaSectionobject(see"Retrievingasec-
tion"onpage1306).
merge.pagination Usedtogetthetotalpagecount,sheetcountandstart/endpagenumbersforallsectionsinthePrintcontext
afterpagination.See"Pagination"onpage1314.
"PaginationInfo"onpage1300 Thisobjectcontainsessentialinformationaboutoneelementinordertocreateatableofcontents(see"Creatinga
TableOfContents"onpage852).
results."info()"onpage1304 Acalltoresults.info()returnspaginationinformation(see"PaginationInfo"onpage1300)forthefirstelementintheres-
ultsetofaquery(see"query(selector)"onpage1300).
Other objects that are available to Post Pagination Scripts
Thelistaboveisn'texhaustive:theobjectslistedintheDesignerAPI(see"StandardScriptAPI"on
page1169)andintheControlScriptAPI(see"ControlScriptAPI"onpage1271)arealsoavailablein
PostPaginationScripts.
contentitem
ThecontentitemobjectholdsthePrintContentItemthatwillbewrittentotheConnectdatabase
whengeneratingPrintoutput.
ItspropertiesfieldallowstoaddcustompropertiestothePrintContentItem,intheformofkey-
valuepairs(aJSONstring).
CustompropertiescanbeutilizedforfurtherprocessinginaWorkflowconfigurationwiththeRetrieve
Itemstask.TheRetrieveItemstaskretrievescustompropertiesalongwiththebaserecordinformation
(seeRetrieveItemsinWorkflow'sOnlineHelp).
Thecontentitemobjectcanbeusedinanytypeofscript.However,ifyouwanttoaddproduction
information-suchasthepage,size,andpositionofelementsafterpagination-totheproperties,
youhavetowriteaPostPaginationScript(see"PostPaginationScripts"onpage850).
Field Type Description
properties
Properties Key-valuepairscontainingcustomproperties.
Notethatapropertyvalueisalwaysstoredasastringinthedatabase.
Page 1298