Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jasper reports isStretchWithOverflow不工作_Jasper Reports_Export To Excel - Fatal编程技术网

Jasper reports isStretchWithOverflow不工作

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

我使用的是JasperReports,
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>