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

Bug 311895

Summary: Avoid page break option doesn't work inside html type text item.
Product: z_Archived Reporter: kacsa <csaba_suli>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hustlg, zqian
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Design file of the current bug none

Description kacsa CLA 2010-05-06 10:30:33 EDT
Build Identifier: Birt Report Designer 2.6

The second html data will be shown in the other page not after the first text item's data, despite avoid page break settings.
See the attached design file.

Reproducible: Always
Comment 1 kacsa CLA 2010-05-06 10:31:34 EDT
Created attachment 167312 [details]
Design file of the current bug
Comment 2 Gang Liu CLA 2010-05-07 04:04:58 EDT
Page-break-inside: avoid is set on both html text, so the second text is put into the second page. it's expect result.
If you want the second html text is shown after the first text, you should remove page-break-inside: avoid on the second html text.
Comment 3 kacsa CLA 2010-05-07 04:43:09 EDT
(In reply to comment #2)
> Page-break-inside: avoid is set on both html text, so the second text is put
> into the second page. it's expect result.
> If you want the second html text is shown after the first text, you should
> remove page-break-inside: avoid on the second html text.

I followed your instructions, but I got the same result. I run the attached report with view report as pdf. 
Could you send me a report design file, which was tested by you and worked correctly, please?

Thank you,
Csaba
Comment 4 kacsa CLA 2010-05-10 09:48:40 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > Page-break-inside: avoid is set on both html text, so the second text is put
> > into the second page. it's expect result.
> > If you want the second html text is shown after the first text, you should
> > remove page-break-inside: avoid on the second html text.
> 
> I followed your instructions, but I got the same result. I run the attached
> report with view report as pdf. 
> Could you send me a report design file, which was tested by you and worked
> correctly, please?
> 
> Thank you,
> Csaba

Sorry, I was wrong. Your solution for this problem is good.

Thank you,
Csaba