Created a pull request to support filling with empty rows

0

I've created a pull request to support filling with empty rows to a specified number in details band and in List component.

In the detail band, last page will be filled up to the specified row or until there's a page break.

In the List component and Table component, a list will be filled up to the specified row.

Appreciate if everybody would test for bugs.

Source code is available below.

https://github.com/ozawa-hi/jasperreports/tree/fill_with_rows

Pull request is here. The pull request is still Work in Progress because I want everybody to test this feature.

https://github.com/TIBCOSoftware/jasperreports/pull/58

 

I've added a sample report to the demo/samples/list/reports/ListReportWithFill.jrxml to specify in the List component.

In the details band, specify the following property on the report where value is the numbers of rows to fill up to. Specifying a large number will always fill the page till the end of the page.

<property name="net.sf.jasperreports.rows.to.fill" value="27"/>

 

I've added a sample report to the demo/samples/table/reports/TableReportRowsToFill.jrxml to specify in the Table component.

                <reportElement style="Table" x="0" y="50" width="555" height="100" uuid="c475c968-5a05-4331-8147-5fc24a48070b">
                    <property name="net.sf.jasperreports.components.table.rows.to.fill" value="30"/>
                </reportElement>

 

hozawa's picture
42055
Joined: Apr 24 2010 - 4:31pm
Last seen: 28 min 21 sec ago

0 Answers:

No answers yet
Feedback