Community
Participate
Working Groups
Description: Enhance to support page-break-inside in Crosstab. Build number: 2.5.0.v20090312-0630 Steps to reproduce: 1. New a report with a crosstab binding to the data cube. 2. Set page-break for row/column area. Expected result: Support page-break-inside in Crosstab as support page-break-inside in table. Actual result: Only support page-break-before and page-break-after in Crosstab. Error log: N/A
Created attachment 128935 [details] Sample report Hi guys, This is great to see that you're going to address this bug soon! Just to be sure, can you please confirm that a report like the one I attached will render on two different pages, the first one having the whole 2002 results, the second one having the whole 2003 results (since there are too many lines in 2003 *and* I've set page-break inside to 'avoid' for "years"). Could you also please tell me if there is any way I could help in fixing the bug, and when you think it will be available in nightly builds (i.e. in just a few days, or at the very end of the RC0 cycle?)? Thanks alot, Cheers.
(In reply to comment #1) > Created an attachment (id=128935) [details] > Sample report > > Hi guys, > > This is great to see that you're going to address this bug soon! > > Just to be sure, can you please confirm that a report like the one I attached > will render on two different pages, the first one having the whole 2002 > results, the second one having the whole 2003 results (since there are too many > lines in 2003 *and* I've set page-break inside to 'avoid' for "years"). > > Could you also please tell me if there is any way I could help in fixing the > bug, and when you think it will be available in nightly builds (i.e. in just a > few days, or at the very end of the RC0 cycle?)? > > Thanks alot, > Cheers. > Benjamin, The final pagination result also depends on other pagination settings, e.g. page break before/after setting between levels, pagination options for specific media(PDF/HTML). Basically setting page-break inside to 'avoid' just adds a hint for the layout engine. But I believe you should be able to achieve the expected pagination result by some combined settings after this is fixed..
(In reply to comment #2) > But I believe you should be able to achieve the > expected pagination result by some combined settings after this is fixed.. > Good news! Do you have any idea when the fix will be available in an N-build? Thanks!
Done crosstab model and engine chanege. Need add UI support in row area page break setting dialog. Note page-break-inside currently only applies to row area levels, for column area levels, it always works as 'avoid'.
(In reply to comment #4) > Done crosstab model and engine chanege. Need add UI support in row area page > break setting dialog. Note page-break-inside currently only applies to row area > levels, for column area levels, it always works as 'avoid'. > Hi Zhiqiang, I'm also interrested in this feature but I'm very hurry. My question is : If I use the last nightlyBuild, How to update manually the "rptdesign" file without UI? Thanks alot, Cheers.
(In reply to comment #5) > Hi Zhiqiang, > I'm also interrested in this feature but I'm very hurry. > > My question is : > If I use the last nightlyBuild, How to update manually the "rptdesign" file > without UI? > > Thanks alot, > Cheers. > The simplest way is using the existing UI to set the 'pageBreakAfter' to 'avoid' for same Level, and search in the xml source for string like "<property name="pageBreakAfter">avoid</property>", and replace "After" with "Inside".
Thanks Zhiqiang, Good new! It works with the attached sample report. But I have the following error on another report (more complex), probably because I use a nightlybuild (2_5_0-N20090324). Cheers. FYI : - org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1054) at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:883) at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:938) at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(BirtRunAndRenderActionHandler.java:76) at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90) at org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(EngineFragment.java:318) (In reply to comment #6) > (In reply to comment #5) > > Hi Zhiqiang, > > I'm also interrested in this feature but I'm very hurry. > > > > My question is : > > If I use the last nightlyBuild, How to update manually the "rptdesign" file > > without UI? > > > > Thanks alot, > > Cheers. > > > The simplest way is using the existing UI to set the 'pageBreakAfter' to > 'avoid' for same Level, and search in the xml source for string like "<property > name="pageBreakAfter">avoid</property>", and replace "After" with "Inside". >
Hi guys, I tested my reports with the nightlybuild 2_5_0-N20090401. I inform you I have no exception! great! However I found some regressions. (see the attached file "Sample report 2.zip", pdf file, page 2). Other problems were found but they don't concern Crosstab. Do you want I send you these remarks for helping your team ? (How?) Thanks a lot, Cheers.
Created attachment 130730 [details] Sample report 2
Fixed it.
That's ok (Verified in build 2.5.0v20090410). Thanks.
For vertical page break, support page-break-before: avoid, page-break-after: avoid, and page-break-inside: avoid. For horizontal page break, support page-break-before: avoid and page-break-after: avoid. Verified in build (2.5.0.v20090414-0630), closed.