How to set maximum lines of rendered HTML page? #1513
-
I tested with BIRT 4.7.0, and found that I could render a specific page if I want using the following method in case the report size is huge. renderTask.setPageNumber( 7); It displayed 10,000 lines for each page as default. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You can try to define a very large page on the master page and define the page hight very hugh. The minimum is limited by the maximum page height and dependend on your font size and your table structure with your margins and so on. |
Beta Was this translation helpful? Give feedback.
-
I'm not using HTML output, but maybe you should look at the layout preference for the report. You could try using "Fixed Layout" and a realistic page height for the master page. I guess BIRT will create smaller HTML pages then. |
Beta Was this translation helpful? Give feedback.
-
Thank you @speckyspooky and @hvbtup for your comments. Finally, I found one solution to change the value using a property value 'pageBreakInterval' inside the report design file. Thanks again for your kind answers. |
Beta Was this translation helpful? Give feedback.
You can set the page height of the master page directly into your report.
(No special coding needed.)
Setup of the master page height