Horizontal Stretching of a dynamic text box..

Hi all,

I'm trying to print a very long text inside a text box, with Horizontal Stretching. I have already tried the following options but those options only address the Vertical Stretching.

  1. Relative to band height

  2. Relative to tallest object

  3. Stretch with overflow

Can someone please tell me how to get Horizontal Stretching into action.

[ I'm using iReports 2.0.4 with Java 1.6.0_16. ]

Thanks in advance.

Cheers,

Asela.

aselaneli's picture
Joined: Sep 8 2009 - 12:07am
Last seen: 8 years 4 days ago

3 Answers:

Jasper Report does not support horizontal stretching. Only vertical as you've found out.

One way to accomplish what you are tring to do is to complie you report at run time. That way you can manually build the text box and figure out how large to make it horizontally.

svenn's picture
15160
Joined: Mar 19 2007 - 5:57am
Last seen: 16 years 6 months ago

svenn
Wrote:

Jasper Report does not support horizontal stretching. Only vertical as you've found out.

 

Hello, has this changed in version 3.5.3 or any of the later versions?

michael_sinapis's picture
Joined: Nov 29 2009 - 7:20am
Last seen: 13 years 10 months ago

One way to accomplish what you are tring to do is to complie you report at run time. That way you can manually build the text box and figure out how large to make it horizontally.

 

Please explain how to do it.

shariquerasheed92's picture
Joined: Sep 17 2014 - 11:38pm
Last seen: 1 year 3 months ago
Feedback