[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: Access data from page handler?

Guenter,

Why not use the bookmark of the group to locate the page in the rptdocument. The report document has a method for getting the page like:
IReportDocument.getPageNumber(bookMark)


Jason



Guenter wrote:
Hi,

we have a page handler associated with an IRunTask. Currently, we use it only to count the total number of pages that will be produced when we render the report for HTML.

The report contains a group with a defined page break after each group element. Now we need to know which data is displayed on which page because the users want a function to jump to a specific page (based on the contents of the grouping variable). Is it possible to find out the value of the "group-on" variable in the page handler? (if yes, we could create a map of group-values to page numbers in the page handler).

Thanks for your help!

Best regards,
Günter