Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360284 - grid rows and content wrapping on PDF page break
Summary: grid rows and content wrapping on PDF page break
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Hao Zhou CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 16:47 EDT by Donald Hayes CLA
Modified: 2011-11-09 21:22 EST (History)
2 users (show)

See Also:


Attachments
rptdesign file (47.92 KB, application/octet-stream)
2011-10-07 16:48 EDT, Donald Hayes CLA
no flags Details
resulting PDF file (22.16 KB, application/pdf)
2011-10-07 16:48 EDT, Donald Hayes CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donald Hayes CLA 2011-10-07 16:47:46 EDT
Build Identifier: BIRT V2.6.X, V3.7.0

Using PDF output, if a grid is being rendered at the bottom of the page so that it will wrap to the next page, under certain circumstances the contents with a grid row will wrap inconsistently.  See the attached rptdesign and PDF file as an example.

The issue happens often when using the Unicode "ballot box" characters.  It may also be related to the margin values being set through a CSS style in order to make things visually line up better.

The problem exists in BIRT V2.6.X and also in V3.7.0.

Reproducible: Always

Steps to Reproduce:
1. Open attached rptdesign file
2. View report as PDF
Comment 1 Donald Hayes CLA 2011-10-07 16:48:21 EDT
Created attachment 204776 [details]
rptdesign file
Comment 2 Donald Hayes CLA 2011-10-07 16:48:54 EDT
Created attachment 204777 [details]
resulting PDF file

note grid wrapping at bottom of page
Comment 3 Jun Ouyang CLA 2011-10-12 22:56:58 EDT
Caused by: com.actuate.reportapi.enginemanager.JREMException: There is non-fatal error. Cause : Can not load the report query: 247. Errors occurred when generating the report document for the report element with ID 247. (Element ID:247)
	at org.eclipse.birt.report.engine.data.dte.DataPresentationEngine.doExecuteQuery(DataPresentationEngine.java:164)
	at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267)
	at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1905)
	at org.eclipse.birt.report.engine.internal.document.v4.ReportItemExecutor.executeQuery(ReportItemExecutor.java:412)
	at org.eclipse.birt.report.engine.internal.document.v4.TableItemExecutor.doExecute(TableItemExecutor.java:72)
	at org.eclipse.birt.report.engine.internal.document.v4.ReportItemExecutor.execute(ReportItemExecutor.java:294)
	at org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.prepareChildExecutor(ContainerExecutor.java:226)
	at org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.hasNextChild(ContainerExecutor.java:110)
	at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:86)
	at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.hasNextChild(WrappedReportItemExecutor.java:86)
	at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:62)
	at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
	at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
	at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
	at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
	at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
	at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
	at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
	at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
	at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:132)
	at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
	at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
	at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
	at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
	at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:681)
	at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:294)
	at com.actuate.birt.report.engine.internal.ActuateRenderTask.render(ActuateRenderTask.java:50)
	at com.actuate.reportapi.engine.birt.ViewReportTask.renderReport(Unknown Source)
	at com.actuate.reportapi.engine.birt.ViewReportTask.doTask(Unknown Source)
	at com.actuate.reportapi.engine.Task.execute(Unknown Source)
	at com.actuate.reportapi.enginemanager.ThreadPool$ControlRunnable.run(Unknown Source)
Comment 4 Jun Ouyang CLA 2011-10-12 22:58:43 EDT
Sorry, made a mistake. Please ignore above comment.