Jasper reports isStretchWithOverflow不工作
我使用的是JasperReports,Jasper reports isStretchWithOverflow不工作,jasper-reports,export-to-excel,Jasper Reports,Export To Excel,我使用的是JasperReports,isStretchWithOverflow=true似乎不起作用;生成的.xls没有重叠的文本字段 我的jrxml 结果图 可能重复的主题对我没有帮助,这是我的决定 <detail> <band height="20"> <textField isStretchWithOverflow="true"> <reportElement style
isStretchWithOverflow=true
似乎不起作用;生成的.xls
没有重叠的文本字段
我的jrxml
结果图
可能重复的主题对我没有帮助,这是我的决定<代码>
<detail>
<band height="20">
<textField isStretchWithOverflow="true">
<reportElement style="cell" stretchType="RelativeToTallestObject" positionType="Float" x="727" y="0" width="90" height="20" isPrintWhenDetailOverflows="true" uuid="33ce6f17-5af7-40ed-8b20-fec1a095e1f9"/>
<textFieldExpression><![CDATA[$F{BarCode}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd.MM.yyyy">
<reportElement style="cell" stretchType="RelativeToTallestObject" positionType="Float" x="817" y="0" width="90" height="20" isPrintWhenDetailOverflows="true" uuid="fdf4bd37-5885-4e69-8890-3d5786538581"/>
<textFieldExpression><![CDATA[$F{DocDate}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement style="cell" stretchType="RelativeToTallestObject" positionType="Float" x="907" y="0" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="3692a8f5-a422-4fe6-8588-947b00512396"/>
<textFieldExpression><![CDATA[$F{DocNum}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement style="cell" stretchType="RelativeToTallestObject" positionType="Float" x="987" y="0" width="131" height="20" isPrintWhenDetailOverflows="true" uuid="0c8bb927-8993-4208-9aa4-34bf375591fc"/>
<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textFieldExpression><![CDATA[$F{Accountant}]]></textFieldExpression>
</textField>
</band>
</detail>