[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.birt] custom page numbers
|
- From: kooudy@xxxxxxxx (felix )
- Date: Sun, 26 Oct 2008 21:48:14 +0000 (UTC)
- Newsgroups: eclipse.birt
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hello,
I need page numbers only on several pages in the middle of report which
contains special table (and I need their count). In order to do this I
created new master page and drop grid to the footer. I change onRender
event of this grid:
customPageNumber++;
- so when footer (with grid) is rendered then this global variable is
incremented - algorithm for page numbers
Next I add text to the footer of master page:
<value-of>customPageNumber</value-of>
- so the variable (customPageNumber) should be rendered to indicate page
number.
But it seems that master page is rendered (or prepared) only once and is
used for all pages of report because the '1' is on all pages of the report
although variable customPageNumber is incremented each time footer is
rendered.
Can I compel birt to rerender the master page for each page of report so
value of variable customPageNumber will be right?
Or is there another way to implement custom page numbers?
It is possible to turn off page number for first page?
thanks