How to stretch a text box across multiple pages in Jasper reports?

Scenario : I have a jasper report with several text fields inside a detailed range. Each text field has the following properties:

  • Position: Float
  • Stretch Type: Regarding the tallest object
  • Print on overflow details: False
  • Stretch With Overflow: True

The information bar has the property:

  • SplitType: Stretch

Current result: When one of the text fields is above the page and continues to the next page, all other text fields are stretched to the end of the page.

Problem: I want all text fields to stretch on the next page. If I use the "Print When Detail Overflows: True" property, this causes the text fields to be reprinted with duplicate data. This is not my intention. I want the text box to stretch over several pages.

Thank!

+5
source share
2 answers

I also have the same problem, and after the game I didn’t understand anything all day :-(. My workaround was to set the whole group to “Prevent” the type of separation. This is not a solution. Just try not to retype text fields with duplicate data .

+2
source

Stretch Type Relative to Band Height. , . , , , .

0

All Articles