Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug --- 123046 Set page break to elements, preview in html, has error.

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 123046 Set page break to elements, preview in html, has error.

Summary 

Bugzilla Bug (s) Resolved:
123046 Set page break to elements, preview in html, has error.

Description:
Page-break-before: the current element should be in the different page with the previous element.
Page-break-after: the next element should be in the different page with the current element.

Assume there are two elements in the report design, both have page-break-before and page-break-after setted.
1) the page-break-before of the first element: as there is no element before this one, so no page-break is needed.
2) the page-break-after of the first element: the next element shouldn't put in the current page.
3) the page-break-before of the second element: as the first element is in page 1, so the engine put this element into page 2

4) the page-break-after of second element: as there are no more elements in the report design, it won't create page 3.

Result:
ENGINE create 2 pages for this report desgin, the first elemnt is in the page 1 and the second element is in the page 2.

 
Test Description:
Manual Test
 
Files Edited:
cvs ci -m "remove the empty page in the HTML pagination" -l "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/PageFlow.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/PageRegion.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/DefaultPaginationEmitter.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/HTMLPaginationEmitter.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/Page.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan




Back to the top