Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330911 - Hold items together
Summary: Hold items together
Status: CLOSED DUPLICATE of bug 323222
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 07:39 EST by pp CLA
Modified: 2011-05-26 13:33 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***