Jump to content
Changes to the Jaspersoft community edition download ×

wrap text in a report with iReport Designer 5.1.0


ibradien

Recommended Posts

How to wrap text in a report with iReport Designer 5.1.0 ?

I already did settings:

- Set position type of the field to "float"
- Set stretch type to "Relative to Tallest Object"
- Turn stretch with overflow on (True)

but results are not as expected.

anyone know what the problem is?

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Hi baim,

 

For this issue what you need to do is that for the entire row i.e for all the cells in a particular row you will have to add the Stretch tupe Relative to the tallest so that all the data fields would get to equal height relative to the tallest in the particular row. I have depicted the same in the snap you have attached.

Hope this solves your issue.

Thanks,

Ankur Gupta

Link to comment
Share on other sites

Hi baim

You have done the stretch type to "Relative to Tallest Object"  for all the elements of the row , and remove other Set position type of the field to "float"
 and  Turn stretch with overflow on (True) .

I think this might just work fine please let me know if it works.

 

Thanks,

Ankur Gupta

Link to comment
Share on other sites

 

Hi Ankur Gupta,

I've set up all text fields in the tag <detail> </ detail>, but it does not work fine, because there is a problem of instability in the tag <detail> band height.

Do you have any other solution to solve the problem of band height and wrap text ?
 
Thanks,
Baim

 

Link to comment
Share on other sites

 

Hi,
Can you let me know that this instability occurs at the page break or is in between the pages.Try setting the Position type to Relative to top.
And you could do one more thing , you could go to the the detail section and see the properties there is an option Split type- set it to prevent , because of this it might be splitting the columns unevenly.
Please try this and let me know.
 
Thanks,
Ankur
Link to comment
Share on other sites

  • 7 months later...

 you put one rectangle within the subreport then(it will repeat for each record then you will get the proper record in the table) 

then set the following properties for both textfield and rectanle

 Set position type of the field to "float"
- Set stretch type to "Relative to Tallest Object"
- Turn stretch with overflow on (True)

i think it will work

 

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...