<band height="280" isSplitAllowed="true" > <rectangle radius="10" > <reportElement mode="Transparent" x="241" y="97" width="294" height="105" key="rectangle-1"/> <graphicElement stretchType="NoStretch"> <pen lineWidth="0.4" lineStyle="Solid"/> </graphicElement> </rectangle> <staticText> <reportElement x="285" y="12" width="117" height="15" key="staticText-1"/> <box></box> <textElement verticalAlignment="Middle"> <font pdfFontName="Helvetica-BoldOblique" isBold="true" isItalic="true"/> </textElement> <text><![CDATA[Requisição Externa nº:]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="403" y="12" width="132" height="15" key="textField-1"/> <box></box> <textElement verticalAlignment="Middle"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{requestID}.toString()]]></textFieldExpression> </textField> <image scaleImage="FillFrame" vAlign="Top" hAlign="Left" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="12" width="116" height="44" key="image-1"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <graphicElement stretchType="NoStretch"/> <imageExpression class="java.lang.String"><![CDATA["images/" + $P{logoFilename}]]></imageExpression> </image> <staticText> <reportElement x="349" y="218" width="80" height="16" key="staticText-20"/> <box></box> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Oblique" isItalic="true"/> </textElement> <text><![CDATA[Nº Contribuinte:]]></text> </staticText> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="435" y="218" width="100" height="16" key="textField-21"/> <box></box> <textElement textAlignment="Right"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{acquisitionRequest}.getSupplier().getFiscalIdentificationCode()]]></textFieldExpression> </textField> <staticText> <reportElement x="285" y="46" width="117" height="15" key="staticText-24"/> <box></box> <textElement verticalAlignment="Middle"> <font pdfFontName="Helvetica-BoldOblique" isBold="true" isItalic="true"/> </textElement> <text><![CDATA[Data :]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="403" y="46" width="132" height="15" key="textField-25"/> <box></box> <textElement verticalAlignment="Middle"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new SimpleDateFormat("yyyy/MM/dd").format(new Date())]]></textFieldExpression> </textField> <staticText> <reportElement x="394" y="251" width="0" height="0" key="staticText-25"/> <box></box> <textElement> <font/> </textElement> <text><![CDATA[Static Text]]></text> </staticText> <staticText> <reportElement x="0" y="258" width="80" height="16" key="staticText-26"/> <box></box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font pdfFontName="Helvetica-Oblique" isItalic="true"/> </textElement> <text><![CDATA[Processado por:]]></text> </staticText> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="83" y="258" width="218" height="16" key="textField-26" isPrintWhenDetailOverflows="true"/> <box></box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{responsibleName}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="242" width="121" height="16" key="staticText-28"> <printWhenExpression><![CDATA[$P{acquisitionRequest}.getProcess().getAcquisitionProposalDocument() != null && $P{acquisitionRequest}.getProcess().getAcquisitionProposalDocument().getProposalId() != null && !$P{acquisitionRequest}.getProcess().getAcquisitionProposalDocument().getProposalId().isEmpty()]]></printWhenExpression> </reportElement> <box></box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font pdfFontName="Helvetica-Oblique" isItalic="true"/> </textElement> <text><![CDATA[Vossa Proposta Nº:]]></text> </staticText> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="121" y="242" width="180" height="16" key="textField-27" isPrintWhenDetailOverflows="true"> <printWhenExpression><![CDATA[$P{acquisitionRequest}.getProcess().getAcquisitionProposalDocument() != null && $P{acquisitionRequest}.getProcess().getAcquisitionProposalDocument().getProposalId() != null && !$P{acquisitionRequest}.getProcess().getAcquisitionProposalDocument().getProposalId().isEmpty()]]></printWhenExpression> </reportElement> <box></box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{acquisitionRequest}.getProcess().getAcquisitionProposalDocument().getProposalId()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="255" y="97" width="275" height="105" key="textField-28" positionType="Float" isPrintWhenDetailOverflows="true"/> <box></box> <textElement verticalAlignment="Middle" markup="styled" lineSpacing="Single"> <font fontName="SansSerif" pdfFontName="Helvetica"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["<style isBold=\"true\" pdfFontName=\"Helvetica-Bold\">" + org.apache.commons.lang.StringEscapeUtils.escapeXml($P{acquisitionRequest}.getSupplier().getName()) + "</style>\n" + ($P{supplierContact}.getAddress() != null ? (($P{supplierContact}.getAddress().getLine1() != null && !$P{supplierContact}.getAddress().getLine1().isEmpty() ? $P{supplierContact}.getAddress().getLine1() + "\n" : "") + ($P{supplierContact}.getAddress().getLine2() != null && !$P{supplierContact}.getAddress().getLine2().isEmpty() ? $P{supplierContact}.getAddress().getLine2() + "\n" : "") + $P{supplierContact}.getAddress().getPostalCode() + ", " + $P{supplierContact}.getAddress().getLocation() + "\n" + $P{supplierContact}.getAddress().getCountry()) : "")]]></textFieldExpression> </textField> <staticText> <reportElement x="285" y="29" width="117" height="15" key="staticText-30"/> <box></box> <textElement verticalAlignment="Middle"> <font pdfFontName="Helvetica-BoldOblique" isBold="true" isItalic="true"/> </textElement> <text><![CDATA[Processo nº:]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="403" y="29" width="132" height="15" key="textField-29"/> <box></box> <textElement verticalAlignment="Middle"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{acquisitionRequest}.getAcquisitionProcessId()]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="191" width="171" height="38" forecolor="#000000" key="staticText-37"/> <box></box> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="1_1_2"> <font size="12"/> </textElement> <text><![CDATA[Central de Compras]]></text> </staticText> <staticText> <reportElement x="350" y="242" width="80" height="16" key="staticText-20"/> <box></box> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Oblique" isItalic="true"/> </textElement> <text><![CDATA[Fax:]]></text> </staticText> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="435" y="242" width="100" height="16" key="textField-21"/> <box></box> <textElement textAlignment="Right"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{acquisitionRequest}.getSupplier().getFax()]]></textFieldExpression> </textField> </band>