pdf generation - Jasper reports: When accessing a database record field in jrxml it gives value in different line -
i using jasper reports generate pdf, attribute billingaddresscustomername in below code gives first name , last name. if first name , last name of single character, returned in different lines:
what getting:
a b
(a , b in different line)
what should :
a b
code:
<textfield isblankwhennull="true"> <reportelement stretchtype="relativetobandheight" x="26" y="101" width="230" height="83"> <property name="local_mesure_unitwidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportelement> <textelement markup="styled"> <paragraph linespacing="1_1_2" linespacingsize="1.0"/> </textelement> <textfieldexpression><![cdata[$f{billingaddresscustomername}]]></textfieldexpression> </textfield>
any appreciated.
Comments
Post a Comment