Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311895 - Avoid page break option doesn't work inside html type text item.
Summary: Avoid page break option doesn't work inside html type text item.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 10:30 EDT by kacsa CLA
Modified: 2010-05-11 02:56 EDT (History)
2 users (show)

See Also:


Attachments
Design file of the current bug (4.19 KB, application/octet-stream)
2010-05-06 10:31 EDT, kacsa CLA
no flags Details

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