Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330911

Summary: Hold items together
Product: z_Archived Reporter: pp
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: CLOSED DUPLICATE QA Contact: Xiaoying Gu <bluesoldier>
Severity: enhancement    
Priority: P3 CC: bluesoldier
Version: unspecified   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description pp CLA 2010-11-23 07:39:19 EST
Build Identifier: 

I have several items, that should be hold together (there should be no pagebreak between them).

Examples:
Headline and content held together
(it doesn't look well to have the headline on the last line of a page)

All lines of a table held together
(if the table doesn't fit on the rest of the current page, the table should start on the next page)

Reproducible: Always
Comment 1 Xiaoying Gu CLA 2010-11-23 21:33:18 EST
>>All lines of a table held together
>>(if the table doesn't fit on the rest of the current page, the table should
>>start on the next page)

Have you tried to set page break inside to avoid to that table. It should work for such case.
Comment 2 pp CLA 2010-11-24 03:46:03 EST
(In reply to comment #1)
> >>All lines of a table held together
> >>(if the table doesn't fit on the rest of the current page, the table should
> >>start on the next page)
> Have you tried to set page break inside to avoid to that table. It should work
> for such case.

You're right. I've made a simple report and can confirm this behaviour.
In my other reports however it doesn't work.

I've tried a lot until I found the problem:
If the table is in the lefto of two columns of a grid, there is no pagebreak before it.
I've already opened a bug for this (330996)
Comment 3 Xiaoying Gu CLA 2010-11-24 05:48:59 EST
Case 1:

>Headline and content held together
>(it doesn't look well to have the headline on the last line of a page)

Is this duplicated to:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323222
Comment 4 pp CLA 2010-11-24 09:06:22 EST
(In reply to comment #3)
> Case 1:
> >Headline and content held together
> >(it doesn't look well to have the headline on the last line of a page)
> Is this duplicated to:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=323222

Yes I think so.
Comment 5 Xiaoying Gu CLA 2010-11-24 21:41:42 EST

*** This bug has been marked as a duplicate of bug 323222 ***