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

Bug 177626

Summary: [Improve Page Break Management] Page break problems with Group Header
Product: z_Archived Reporter: VS <vladimir.simjanoski>
Component: BIRTAssignee: Gang Liu <hustlg>
Status: VERIFIED FIXED QA Contact: mindan xu <mindan.xu>
Severity: critical    
Priority: P3 CC: bluesoldier, enricomilanese, wyan, xwang
Version: 2.1.1Keywords: plan
Target Milestone: 2.5.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard: Autoed,G
Attachments:
Description Flags
Report file
none
Image describing the exact problem none

Description VS CLA 2007-03-15 15:16:18 EDT
I have a report with Table and Group (pdf output). I've tried many different settings and combinations regarding Page Break on the different objects, but I'm not able to avoid that the group header shows up as last line on one page, and the table contents comes on the next page.

I tried to setup "pageBreakAfter=avoid" on the group header with no success.
Comment 1 VS CLA 2007-03-15 15:17:40 EDT
Created attachment 61003 [details]
Report file
Comment 2 VS CLA 2007-03-15 15:20:23 EDT
Created attachment 61004 [details]
Image describing the exact problem
Comment 3 VS CLA 2007-03-15 16:46:42 EDT
Even though not related to Group Header, page break doesn't work for Table Cell also (is this supported at all?)
Comment 4 Wei Yan CLA 2007-04-08 23:33:58 EDT
1. user can set page-break-inside to avoid in the group to display the whole group into a page if the group is less than a page.

2. we need support properties such as keep-together or widows/orphans for table/group etc.
Comment 5 Wei Yan CLA 2009-02-04 03:31:33 EST
need more time to resolve those issues.
Comment 6 Gang Liu CLA 2009-03-03 04:27:51 EST
Support page-break-after: avoid on table rows. User can set page-break-after: avoid on group header rows.

Fixed.
Comment 7 mindan xu CLA 2009-03-09 06:16:35 EDT
Avoid option added. Set group's page break inside - avoid, or group header row's page break after-avoid, group header and table content won't be seperated.
Verified in Build <2.5.0.v20090309-0630>