subreport Bottom line does not fit

0

i`m trying to subreport create. 

subreport Bottom line does not fit

this is the report xml. 

1. report main xml :

    <detail>
        <band splitType="Stretch">
            <subreport>
                <reportElement x="-60" y="0" width="595" height="0" uuid="e14ecfb1-5cc5-4a20-b10d-896a215e0640"/>
                <subreportParameter name="reportRealPath">
                    <subreportParameterExpression><![CDATA[$P{reportRealPath}]]></subreportParameterExpression>
                </subreportParameter>
                <dataSourceExpression><![CDATA[$P{mainlist}]]></dataSourceExpression>
                <subreportExpression><![CDATA[JasperCompileManager.compileReport($P{reportRealPath} + "/4.report_qi5.DPA.sub2.result_main.jrxml")]]></subreportExpression>
            </subreport>
        </band>
    </detail>

2. report sub2.result_main xml : 

<subreport>
                <reportElement x="0" y="240" width="474" height="40" uuid="2353da7d-c8fd-4793-b405-848123453c55"/>
                <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{sublist})]]></dataSourceExpression>
                <subreportExpression><![CDATA[JasperCompileManager.compileReport($P{reportRealPath} + "/4.report_qi5.DPA.sub2.result_sub.jrxml")]]></subreportExpression>
            </subreport>

 

 

 

guriguri113's picture
Joined: Mar 26 2018 - 10:08pm
Last seen: 1 year 2 months ago

0 Answers:

No answers yet
Feedback
randomness