2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Swapnil Deshpande - swapnild16 Long text getting truncated at the endof page 2003-09-16 03:05 Hello , I am generating a tabular report through Jasper in which one of the columns has variable formatted text from database (max.2000 char) through a datasource . As the text in that column goes to other page , some of the data is being lost . I have checked that the query is fetching correct data from database . This loss of data is occuring at the end of the every page. Attached here is the code for the textfield which contains this text . <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement x="418" y="5" width="55" height="15" forecolor="#333333" backcolor="#CCCCCC" mode="Opaque" isPrintWhenDetailOverflows="false" /> <textElement textAlignment="Left"> <font reportFont="Arial_Normal" size="10"/> </textElement> <textFieldExpression class="java.lang.String"> $F{mtdlComments} </textFieldExpression> </textField> Can anyone please help ?? Thanks Swapnil By: Swapnil Deshpande - swapnild16 RE: Long text getting truncated at the endof page 2003-09-17 23:28 Hello , This is happening when there are newline characters in the text . Only then the textfield is not displaying complete text.. Any help?? Swapnil By: Chuck Deal - cdeal RE: Long text getting truncated at the endof page 2003-09-18 08:10 I had seen this happening with versions prior to v0.5.0, but since I upgraded, I haven't seen it happen anymore. I still get some funny page break points (sometimes text doesn't go all the way to the bottom of the page even when there is plenty of room), but everything else is ok. 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