birt-deapi

How to restart page number from 1 in different group of BIRT report

纵饮孤独 提交于 2020-01-11 13:27:29
问题 Backgroud: Use Java + BIRT to generate report. Generate report in viewer and allow user to choose to export it to different format (pdf, xls, word...). All program are in "Layout", no program in "Master Page". Have 1 "Data Set". The fields in "Layout" refer to this DS. There is Group in "Layout", gropu by one field. In "Group Header", I create one cell to use as page number. "Page : MyPageNumber". "MyPageNumber" is a field I define which would +1 in Group Header. Problem: When I use 1st

How to restart page number from 1 in different group of BIRT report

一个人想着一个人 提交于 2019-12-02 12:02:54
Backgroud: Use Java + BIRT to generate report. Generate report in viewer and allow user to choose to export it to different format (pdf, xls, word...). All program are in "Layout", no program in "Master Page". Have 1 "Data Set". The fields in "Layout" refer to this DS. There is Group in "Layout", gropu by one field. In "Group Header", I create one cell to use as page number. "Page : MyPageNumber". "MyPageNumber" is a field I define which would +1 in Group Header. Problem: When I use 1st method to generate report, "MyPageNumber" could not show correctly. Because group header only load one time