BIRT 2.2.2. page break interval
Options
Ever since upgrading the report desginer to 2.2.2. i'm having te following problem with exports to PDF:<br />
I have a landscape, a4, report with one table.<br />
This table has width set to 100%. So i want it to use the full page.<br />
This worked fine in 2.2.1.1. As of 2.2.2 it suddenly utilizes the "page break interval". The default page break interval is 50. Then it always puts 50 lines on the report and then it shrinks my page to fit the 50 lines on it. This means that the whole right side of the page isn't used.<br />
<br />
it kinda looks like the problem described in:<br />
<a class='bbc_url' href='https://bugs.eclipse.org/bugs/show_bug.cgi?id=207385'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=207385</a><br />
<br />
2.2.1.1: no problem<br />
2.2.2: problem as described<br />
2.3M5: problem as described
I have a landscape, a4, report with one table.<br />
This table has width set to 100%. So i want it to use the full page.<br />
This worked fine in 2.2.1.1. As of 2.2.2 it suddenly utilizes the "page break interval". The default page break interval is 50. Then it always puts 50 lines on the report and then it shrinks my page to fit the 50 lines on it. This means that the whole right side of the page isn't used.<br />
<br />
it kinda looks like the problem described in:<br />
<a class='bbc_url' href='https://bugs.eclipse.org/bugs/show_bug.cgi?id=207385'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=207385</a><br />
<br />
2.2.1.1: no problem<br />
2.2.2: problem as described<br />
2.3M5: problem as described
0
Comments
-
sorry, i think it's the same problem as in:<br />
<a class='bbc_url' href='http://www.birt-exchange.com/modules/vbulletin/showthread.php?t=10063&highlight=page+break+interval'>http://www.birt-exchange.com/modules/vbulletin/showthread.php?t=10063&highlight=page+break+interval</a>0 -
We faced the same problem and found a quick hack to fix the page break pagination by patching a piece of 2.2.2 code with 2.2.1.1 version:
1. In class org.eclipse.birt.report.service.ReportEngineService
Method: private PDFRenderOption createPDFRenderOption(...)
Change: // pagebreak pagination only setting
renderOption.setOption( PDFRenderOption.PAGEBREAK_PAGINATION_ONLY,
new Boolean( ParameterAccessor.isPagebreakOnly( request ) ) ); // code from 2.2.1.1 - line 590
// Boolean.TRUE );
Recompile this class and replace it in birt/WEB-INF/lib/viewservlets.jar
2. Add HTTP parameter to BIRT report URL: "&__pagebreakonly=false"
These will force paper size pagination to work and will avoid hard coded page break interval pagination. You can have "Page Break Interval" set to 0 now.
Ihor0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management