Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Pagebreak problems(Pagebreak depending on the remaining space on the page)
Pagebreak problems [message #637173] Thu, 04 November 2010 13:14 Go to next message
No real name is currently offline No real nameFriend
Messages: 11
Registered: August 2010
Junior Member
Hi
I have several problems using pagebreaks in birt:

1st Problem:
I want to do a pagebreak before a table, if the table doesn't fit on the rest of the current page.

This schould not happen:
row1
row2
Pagebreak
row3

What I want:
empty
empty
Pagebreak
row1
row2
row3


2nd Problem:
In my report are 2 rows.

This schould not happen:
row1
pagebreak
row2

What I want:
empty
pagebreak
row1
row2


3rd Problem:
In my report I have a table with several groups.
I want to do a pagebreak before a group if a certain condition is fulfilled

this schould be possible:
group1
pagebreak
group2
group3
pagebreak
...

I cant remove the groups due to the performance of the report


Edit:
I'm using Birt 2.6.1

Peter

[Updated on: Thu, 04 November 2010 13:44]

Report message to a moderator

Re: Pagebreak problems [message #637209 is a reply to message #637173] Thu, 04 November 2010 15:19 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Peter,

For the third problem look at this example:

http://www.birt-exchange.org/org/devshare/designing-birt-rep orts/1275-group-conditional-page-break/

Jason

On 11/4/2010 9:14 AM, peter@pilgerstorfer.at wrote:
> Hi
> I have several problems using pagebreaks in birt:
>
> 1st Problem:
> I want to do a pagebreak before a table, if the table doesn't fit on the
> rest of the current page.
>
> This schould not happen:
> row1
> row2
> Pagebreak
> row3
>
> What I want:
> empty
> empty
> Pagebreak
> row1
> row2
> row3
>
>
> 2nd Problem:
> In my report are 2 rows.
>
> This schould not happen:
> row1
> pagebreak
> row2
>
> What I want:
> empty
> pagebreak
> row1
> row2
>
>
> 3rd Problem:
> In my report I have a table with several groups.
> I want to do a pagebreak before a group if a certain condition is fulfilled
>
> this schould be possible:
> group1
> pagebreak
> group2
> group3
> pagebreak
> ...
>
> I cant remove the groups due to the performance of the report
Re: Pagebreak problems [message #637213 is a reply to message #637209] Thu, 04 November 2010 15:37 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Look at this example for page break based on height:
http://www.birt-exchange.org/org/devshare/designing-birt-rep orts/1276-page-break-on-height/

Jason

On 11/4/2010 11:19 AM, Jason Weathersby wrote:
> Peter,
>
> For the third problem look at this example:
>
> http://www.birt-exchange.org/org/devshare/designing-birt-rep orts/1275-group-conditional-page-break/
>
>
> Jason
>
> On 11/4/2010 9:14 AM, peter@pilgerstorfer.at wrote:
>> Hi
>> I have several problems using pagebreaks in birt:
>>
>> 1st Problem:
>> I want to do a pagebreak before a table, if the table doesn't fit on the
>> rest of the current page.
>>
>> This schould not happen:
>> row1
>> row2
>> Pagebreak
>> row3
>>
>> What I want:
>> empty
>> empty
>> Pagebreak
>> row1
>> row2
>> row3
>>
>>
>> 2nd Problem:
>> In my report are 2 rows.
>>
>> This schould not happen:
>> row1
>> pagebreak
>> row2
>>
>> What I want:
>> empty
>> pagebreak
>> row1
>> row2
>>
>>
>> 3rd Problem:
>> In my report I have a table with several groups.
>> I want to do a pagebreak before a group if a certain condition is
>> fulfilled
>>
>> this schould be possible:
>> group1
>> pagebreak
>> group2
>> group3
>> pagebreak
>> ...
>>
>> I cant remove the groups due to the performance of the report
>
Re: Pagebreak problems [message #637635 is a reply to message #637173] Mon, 08 November 2010 07:38 Go to previous message
No real name is currently offline No real nameFriend
Messages: 11
Registered: August 2010
Junior Member
The solution for the 3rd problem (conditional pagebreak) works great, thanks.

Edit:
Your second solution doesn't work for me, because I don't know where my table starts (due to visibility-rules, multilinecontent etc.)

The second problem is not only concerning rows (I want to keep headline and text together)

Peter

[Updated on: Mon, 08 November 2010 07:53]

Report message to a moderator

Previous Topic:Pie, Line and Bar Charts
Next Topic:Need help for a simple report in a RCP app
Goto Forum:
  


Current Time: Thu Mar 28 13:16:04 GMT 2024

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

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

Back to the top