我正在帮助代码创建报告:
FastReportBuilder fr = new FastReportBuilder();
我想在每页的页脚中添加页码,如。
page 1/3
page 2/3
答案 0 :(得分:4)
FastReportBuilder fr = new FastReportBuilder();
fr.addAutoText(
AutoText.AUTOTEXT_PAGE_X_SLASH_Y,
AutoText.POSITION_FOOTER,
AutoText.ALIGNMENT_LEFT
)