Merge command: [strcalendar-paginationon ]
Merge variable/item: strXdocPaginationOn

Comments:
This gets a (flag)item `prevnext_on` from the n-th calendar document. This value indicates whether the n-th document itself has pagination activated (i.e. because there are underlying documents or not).

Formula:
@If(