Jump to content
JasperReports Library 7.0 is now available ×

How does isStretchWithOverflow work?


2005 IR Help

Recommended Posts

By: Swati Puranik - swatip

How does isStretchWithOverflow work?

2004-04-22 05:13

The text does not wrap to the new line in case of the example given below.

 

The value of field

tax_desc = INTERSTATE RESALE AGAINST C-FORM, LR AS PER BELOW DULY ENDORSED HANDED TO YOU

 

whereas the o/p = INTERSTATE RESALE AGAINST C-FORM, LR AS PER BELOW DULY

 

the rest of text is notvisible.

 

<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" >

 

<reportElement

mode="Transparent"

x="0"

y="12"

width="270"

height="10"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

 

<textElement textAlignment="Right"

verticalAlignment="Top"

lineSpacing="Single">

<font fontName="Helvetica-Bold"

pdfFontName="Helvetica-Bold" size="8"

isBold="false" isItalic="false"

isUnderline="false" isPdfEmbedded ="false"

isStrikeThrough="false" />

</textElement>

 

<textFieldExpression class="java.lang.String">

$F{tax_desc}

</textFieldExpression>

 

</textField>

 

 

 

 

By: Michael - seimic

RE: How does isStretchWithOverflow work?

2004-04-22 05:28

Have you tried isPrintWhenDetailOverflows="true" ?

 

 

 

 

By: Swati Puranik - swatip

RE: How does isStretchWithOverflow work?

2004-04-22 05:48

I tried that but it does not work.

Actualy there is enough space to stretch and fit that field in the same page. This field is in groupFooter section.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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