Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Getting the footer only on the last page

$
0
0
Hey,

I am trying to get the footer only on the last page of my pdf.

I have to generate a pdf file.My birt picks the data from the flat file(tab seperated file) in a table and displays it.
But the page where the table ends (it can extend to more than one page)is the last page of my pdf and I want to display some information in the footer of this last page reading it from the report parameters.

How can I implement this?

I tried it by writing the script in onRender() of the footer component.
if (BirtComp.lessThan(pageNumber, totalPage))
{
this.getStyle().display = "NONE";
}
But this does'nt works in my case. Since,I need to run birt only in one phase.

Viewing all articles
Browse latest Browse all 542