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

Bug 315341

Summary: Avoid page break does not work in DOC
Product: z_Archived Reporter: mindan xu <mindan.xu>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: CLOSED INVALID QA Contact: mindan xu <mindan.xu>
Severity: normal    
Priority: P3 CC: jouyang
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
Report none

Description mindan xu CLA 2010-06-02 01:48:51 EDT
Created attachment 170744 [details]
Report

Description:
[Regression]  Avoid page break does not work in DOC

Build:
2.6.0.v20100601-0955

Steps to reproduce:
1. New a report
2. Insert a label and set pagebreak-after:avoid
3. Insert a large table and set pagebreak-before-after-inside:avoid, page break interval is 0
4. Preview in PDF/DOC

Actual result:
Table displays after label in first page.

Expect result:
Table displays in second page like PDF.

ErrorLog:
NA
Comment 1 Jun Ouyang CLA 2010-06-02 03:37:47 EDT
It's not a bug.
The pagination mode of DOC emitter is page-break-pagination which is same as "Preview as HTML". 
In DOC emitter, page break only happens when there is a page break (always/interval) setting or the contents exceed the page size of DOC page.
Comment 2 Jun Ouyang CLA 2010-06-02 03:39:40 EDT
*** Bug 315342 has been marked as a duplicate of this bug. ***
Comment 3 mindan xu CLA 2010-06-07 22:18:53 EDT
Close the bug