inditrozen Posted January 27, 2008 Share Posted January 27, 2008 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 More sharing options...
macsig Posted July 4, 2008 Share Posted July 4, 2008 same issue. any idea? THANKS Link to comment Share on other sites More sharing options...
lucianc Posted July 4, 2008 Share Posted July 4, 2008 Set isStretchWithOverflow=true for the text field. HTH,Lucian Link to comment Share on other sites More sharing options...
macsig Posted July 4, 2008 Share Posted July 4, 2008 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 More sharing options...
lucianc Posted July 4, 2008 Share Posted July 4, 2008 Set positionType="Float" for the line element (and make sure that the line is placed underneath the text element, i.e. that they do not overlap). HTH,LucianPost edited by: lucianc, at: 2008/07/04 16:18 Link to comment Share on other sites More sharing options...
macsig Posted July 7, 2008 Share Posted July 7, 2008 Thanks for your help Link to comment Share on other sites More sharing options...
macsig Posted July 7, 2008 Share Posted July 7, 2008 Hi, actually right now I have an other issue: I have two text-fields one below the other LABEL1: textfield1LABEL2: 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 More sharing options...
lucianc Posted July 7, 2008 Share Posted July 7, 2008 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 More sharing options...
macsig Posted July 7, 2008 Share Posted July 7, 2008 Thanks buddy Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now