Jump to content

Displaying long text in a detail section of report


inditrozen

Recommended Posts

Hi All,

 

Requirement is to display text having lenth around 40 charecters as one column (field )value of a table.

 

 

This is the first column of my table which is having 10 columns. Field value inside the map which comes from java Report object contains complete text but pdf export shows only first few charecters of the field. That means rest of the text is getting cut may be due to the space. How can I enable rreport to show the complete text, may be by showing it on multiple rows by keeping the same column size

 

Can somebody help.

 

Best Regards

Link to comment
Share on other sites

  • 5 months later...
  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

thanks for your reply

 

Since I divide each element with a horizontal line

 

code description

____________

code description

 

 

the description text goes over the line as below:

 

 

]http://img353.imageshack.us/img353/4344/ireportix5.gif

 

Is there a way to solve this issue?

 

THANKS and have a nice weekend

Link to comment
Share on other sites

Hi, actually right now I have an other issue:

 

I have two text-fields one below the other

 

LABEL1: textfield1

LABEL2: textfield2

 

 

since text-field1 is several lines I have something that looks like

 

 

 

 

 

]http://img95.imageshack.us/img95/4230/reportvp5.gif

 

How can I align the second label to its text?

 

THANKS and HAVE A NICE DAY!

Link to comment
Share on other sites

What you can do is to create two frames and place each group of label and text in a separate frame, i.e. something like:

Code:

<frame>
<reportElement .../>
<staticText .../> <!-- first label -->
<textField .../> <!-- first text -->
</frame>
<frame>
<reportElement positionType="Float".../>
<staticText .../> <!-- second label -->
<textField .../> <!-- second text -->
</frame>

 

HTH,

Lucian

Link to comment
Share on other sites

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...