Jump to content

Recommended Posts

Posted

i have two jrxml
1.
 

<!-- Created with Jaspersoft Studio version 7.0.1.final using JasperReports Library version 7.0.1-573496633c2b4074e32f433154b543003f7d2498  -->
<jasperReport name="Test" language="java" pageWidth="595" pageHeight="252" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="2f814530-002b-4567-8f17-878db858435a">
	<parameter name="WITNESSED_DESCRIPTION" class="java.lang.String"/>
	<query language="sql"><![CDATA[]]></query>
	<detail>
		<band height="252">
			<element kind="textField" uuid="89394a62-cd67-49b0-9467-ffbb4664e49b" x="13" y="0" width="568" height="252" forecolor="#283991" fontName="CalibriM" fontSize="8.0" blankWhenNull="true">
				<paragraph lineSpacing="Proportional" lineSpacingSize="1.25"/>
				<expression><![CDATA[$P{WITNESSED_DESCRIPTION}]]></expression>
				<property name="com.jaspersoft.studio.unit.height" value="px"/>
			</element>
		</band>
	</detail>
</jasperReport>

 

2.
 

<!-- Created with Jaspersoft Studio version 7.0.1.final using JasperReports Library version 7.0.1-573496633c2b4074e32f433154b543003f7d2498  -->
<jasperReport name="Test" language="java" pageWidth="595" pageHeight="300" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="2f814530-002b-4567-8f17-878db858435a">
	<parameter name="WITNESSED_DESCRIPTION" class="java.lang.String"/>
	<query language="sql"><![CDATA[]]></query>
	<detail>
		<band height="252">
			<element kind="textField" uuid="89394a62-cd67-49b0-9467-ffbb4664e49b" x="13" y="0" width="568" height="300" forecolor="#283991" fontName="CalibriM" fontSize="8.0" blankWhenNull="true">
				<paragraph lineSpacing="Proportional" lineSpacingSize="1.25"/>
				<expression><![CDATA[$P{WITNESSED_DESCRIPTION}]]></expression>
				<property name="com.jaspersoft.studio.unit.height" value="px"/>
			</element>
		</band>
	</detail>
</jasperReport>



what i wan to do is if the 1st textfield got overflowd then the next textfield will continue from the overflowed text. stretch is not a option because it the size is fixed. i is there any way to know at what charecter the text is starting to overflow so that i can split into two and send them as a parameter to 2 report individually?

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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