开发者

How to add page number option in footer with DynamicJasper API?

开发者 https://www.devze.com 2023-04-08 12:25 出处:网络
I am creating report with help of code: FastReportBuilder fr = new FastReportBuilder(); 开发者_如何学C

I am creating report with help of code:

FastReportBuilder fr = new FastReportBuilder();
开发者_如何学C

I want to add page number in footer of each page like.

page 1/3
page 2/3


As documented in the HOW-TO something like this:

FastReportBuilder fr = new FastReportBuilder();
fr.addAutoText(
    AutoText.AUTOTEXT_PAGE_X_SLASH_Y,
    AutoText.POSITION_FOOTER,
    AutoText.ALIGNMENT_LEFT
)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号