Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Suppress group headers based on condition
Suppress group headers based on condition [message #890296] Thu, 21 June 2012 19:38 Go to next message
S K is currently offline S KFriend
Messages: 5
Registered: June 2012
Junior Member
Our BIRT version is 2.6.2. The user can select a image page to be included with each customer report through report parameter. A single pdf can contain hundreds of customer report and the image file is repeated for each customer.

The group header is repeated(Option set as such) when page break is encountered between the customer report. But it is not desirable to have group header on the image page.

How can the group header be suppressed on the image page.

Thanks in advance.
SK

[Updated on: Thu, 21 June 2012 20:40]

Report message to a moderator

Re: Suppress group headers based on condtion [message #890558 is a reply to message #890296] Fri, 22 June 2012 15:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

How is the pdf generated? Is it done using a runandrender task or a run
task followed by a render task?

Jason


On 6/21/2012 3:38 PM, S K wrote:
> Our BIRT version is 2.6.2. The user can select a image page to be included with each customer report through report parameter. A single pdf can contain hundreds of customer report and the image file is repeated for each customer.
>
> The group header is repeated(Option set as such) when page break is encountered between the customer report. But it is not desirable to have group header on the image page.
>
> How can the group header be suppressed on the image page.
>
> Thanks
> SK
>
Re: Suppress group headers based on condtion [message #890615 is a reply to message #890558] Fri, 22 June 2012 17:04 Go to previous messageGo to next message
S K is currently offline S KFriend
Messages: 5
Registered: June 2012
Junior Member
It is a runandrender task.
Here is the code from the BirtReportEngineProvider class

task = engine.createRunAndRenderTask(design);
((IRunAndRenderTask) task).setRenderOption(
getRenderOption(dataSource) );
Re: Suppress group headers based on condtion [message #890714 is a reply to message #890615] Fri, 22 June 2012 22:34 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I do not know of a way to do this with a runandrender task, because the
header is already created and rendered before the image is.

Jason

On 6/22/2012 1:04 PM, S K wrote:
> It is a runandrender task. Here is the code from the
> BirtReportEngineProvider class
> task = engine.createRunAndRenderTask(design);
> ((IRunAndRenderTask) task).setRenderOption(
> getRenderOption(dataSource) );
>
Previous Topic:look-ahead aggregate
Next Topic:Display asterisk for null values in Bar chart
Goto Forum:
  


Current Time: Tue Jan 21 20:00:08 GMT 2020

Powered by FUDForum. Page generated in 0.02195 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top