|
Re: Page break based on output type [message #257092 is a reply to message #256886] |
Thu, 04 October 2007 16:04 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Bidyut,
Can you try something like this in the beforeFactory. Be sure to name
your table and set the page break in the group like you want it for html.
myoutputformat = reportContext.getOutputFormat();
if( myoutputformat != "html" ){
tbl = reportDesignHandle =
reportContext.getReportRunnable().designHandle.getDesignHand le().findElement( "mytable");
grp = tbl.getGroups().get(0);
grp.setProperty("pageBreakAfter", "avoid" );
grp.setProperty("pageBreakBefore", "avoid" );
}
Jason
Bidyut Pattanayak wrote:
> Hi,
>
> Is there a way to do page break based on output type? For example I don't
> want page break in case of xls report. How do I set the page break for the
> group row and in detail row? I am running BIRT 2.1.3.
>
> Any help would be appreciated.
>
> Thanks
> Bidyut
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02988 seconds