Jump to content
We've recently updated our Privacy Statement, available here ×

drojasug

Recommended Posts

I have a simple report on Ireport. Everything works great, the only thing is that when a detail band has an image, it automaticallys skips the other details to the next page. Leaving the current page with a lot of whitespace. Here is the pdf so you can view the problem.

http://www.docdroid.net/mw0l/example.pdf.html And here is the part of the xml where the images are. It is really weird, when the detail doesn't have images it displays correctly

<image scaleImage="FillFrame" vAlign="Top" onErrorType="Blank">
                <reportElement positionType="Float" mode="Opaque" x="16" y="140" width="173" height="99" isRemoveLineWhenBlank="true"/>
                <imageExpression><![CDATA["/webapp/images/"+$F{services_service_id} + "comp" + $F{quotation_lines_quotation_line_company_id} + "/" + $F{services_service_service_photo_left_name}]]></imageExpression>
            </image>
            <image scaleImage="FillFrame" vAlign="Top" onErrorType="Blank">
                <reportElement positionType="Float" mode="Opaque" x="203" y="140" width="173" height="99" isRemoveLineWhenBlank="true"/>
                <imageExpression><![CDATA["/webapp/images/"+$F{services_service_id} + "comp" + $F{quotation_lines_quotation_line_company_id} + "/" + $F{services_service_service_photo_center_name}]]></imageExpression>
            </image>
            <textField isStretchWithOverflow="true" isBlankWhenNull="true">
                <reportElement positionType="Float" x="25" y="77" width="497" height="26" isRemoveLineWhenBlank="true"/>
                <textElement textAlignment="Justified">
                    <font fontName="Arial"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{supplier_information_supplier_information_long_description}]]></textFieldExpression>
            </textField>
            <image scaleImage="FillFrame" vAlign="Top" onErrorType="Blank">
                <reportElement positionType="Float" mode="Opaque" x="385" y="140" width="173" height="99" isRemoveLineWhenBlank="true"/>
                <imageExpression><![CDATA["/webapp/images/"+$F{services_service_id} + "comp" + $F{quotation_lines_quotation_line_company_id} + "/" + $F{services_service_service_photo_right_name}]]></imageExpression>
            </image>
            <line>
                <reportElement positionType="Float" x="3" y="261" width="555" height="1" forecolor="#C0C0C0"/>
            </line>

 

 

Thanks in advance.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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