Hello folks. I Have the following XML:
<jasperReport bottomMargin='0' rightMargin='0' pageWidth='768'name='EditorReport' columnWidth='768'xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://jasperreports.sourceforge.net/jasperreports'leftMargin='0'xsi:schemaLocation='http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd'topMargin='0' pageHeight='1087'><import value='org.apache.commons.codec.binary.Base64'></import><parameter name='C_788346' class='java.lang.String'></parameter><pageHeader><band height='45'></band></pageHeader><detail><band height='960' ><textField isStretchWithOverflow='true'><reportElement key='staticText' x='20' y='15' width='730'height='145' forecolor='0'></reportElement><textElement markup='styled'><font fontName='Verdana' size='10' isBold='false' isItalic='false'isUnderline='false' isStrikeThrough='false'></font></textElement><textFieldExpression><![CDATA[$P{C_788346}]]></textFieldExpression></textField></band><band height='5'></band></detail><pageFooter><band height='45'></band></pageFooter></jasperReport>
I have a text filed generating a new page even when it's content does not fill the entire page. Debuggin the jasper lib, i found a piece of code that aloows the creation of the new page:
if (maxBandStretch > availableHeight - getContainerHeight() + firstY) { tmpWillOverflow = true; }
I dont know how to fix it since the content of the text filed is not filling the entire first page. Can anobody help?
I'm using jasperreport 4.1.2
thanks in advance
0 Answers:
No answers yet