Ищу Java программиста для исправления библиотеки Jasper Reports

Пётр4 года в сервисе
Данные заказчика будут вам доступны после подачи заявки
04.11.2020

JasperReports библиотека для создания печатных документов - pdf, excel по заданному шаблону.

В ней есть два глюка связанные с неправильным отображением таблицы при переносе на новую страницу, их нужно исправить. Подробное описание на английском:

Version: latest master and release.

Multiple serious bugs in Table component related to page break:

  • Column footer does not show up in certain conditions on page break - this is horrible bug which can break reports (for example invoices)
  • Column header does not show up in certain conditions on page break
To make it as simple as possible, I will show how to reproduce these bugs using "table" sample from this library:

How to reproduce first bug:

  • open demo/samples/table/reports/TableReport.jrxml in Jasper Studio and add "Table footer" to the table, set table footer height=30px, add

    "this is footer" static text to the footer to make it visible

  • open demo/samples/table/src/TableApp.java and change "JREmptyDataSource(50)" to "JREmptyDataSource(30)"
  • run table sample with ant and open build/reports/TableReport.pdf
  • Result: Column footer absent on second page

How to reproduce second bug:

  • keep changes from first bug
  • open demo/samples/table/src/TableApp.java and change "JREmptyDataSource(30)" to "JREmptyDataSource(29)"
  • run table sample with ant and open build/reports/TableReport.pdf

    Result: Column header absent on second page

Заявки фрилансеров