Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to print Text 'Continued..." in all pages except last page in XML Publisher Report? This is not the common requirement in the reports

How to print Text 'Continued..." in all pages except last page in XML Publisher Report? I wanted to share the solution with screen shots so that in future this can be referred directly and can be implemented.

like image 773
Vipul Tewari Avatar asked Nov 20 '25 16:11

Vipul Tewari


1 Answers

We had a requirement in one of the report to print text "Continued..." in all pages except last page in XML Publisher Report. After inputs from technical folks I was able to achieve that by following:

  1. In Form field "init pt" we need to add below text:

    < ?init-page-total:pt?>

  2. In Form field "close_pt" we need to add below text:

    < ?end-page-total:pt?>

  3. In Form field "Carried Forward" we need to add below text:

< xdofo:inline-total display-condition="exceptlast" name="pt">Continued...< /xdofo:inline-total>

  1. In the Footer section we will call template as below:

< ?call-template:CarryFwd?>

This will print text "Continued..." in all pages except last page.

Form Field placement

Footer section

like image 160
Vipul Tewari Avatar answered Nov 25 '25 00:11

Vipul Tewari



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!