<band height="270"> <staticText> <reportElement x="20" y="32" width="475" height="23" key="republic"/> <box></box> <textElement textAlignment="Center" lineSpacing="1_1_2"> <font size="11"/> </textElement> <text><![CDATA[República Portuguesa / Portuguese Republic]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="20" y="61" width="475" height="23" key="institution"/> <box></box> <textElement textAlignment="Center" lineSpacing="1_1_2"> <font fontName="SansSerif" size="11"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{bean}.getInstitutionName().toUpperCase() + " / " + $P{bean}.getInstitutionNameEn().toUpperCase()]]></textFieldExpression> </textField> <staticText> <reportElement x="20" y="89" width="192" height="23" key="certificate-pt"/> <box></box> <textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single"> <font size="20"/> </textElement> <text><![CDATA[CERTIDÃO /]]></text> </staticText> <staticText> <reportElement x="217" y="89" width="278" height="23" key="certificate-en"/> <box></box> <textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single"> <font size="16"/> </textElement> <text><![CDATA[CERTIFICATE OF STUDIES]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement style="certificate" x="20" y="112" width="475" height="23" key="mobility-program"/> <box></box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="15"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{bean}.getMobilityProgram().getContent(pt.utl.ist.fenix.tools.util.i18n.Language.pt) + " / " + $P{bean}.getMobilityProgram().getContent(pt.utl.ist.fenix.tools.util.i18n.Language.en)]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="20" y="141" width="475" height="30" key="header-pt" positionType="Float"/> <box leftPadding="1" rightPadding="1" topPadding="1" bottomPadding="1"></box> <textElement textAlignment="Justified" lineSpacing="Single"> <font size="11"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new StringBuilder($P{bean}.getResponsable().getName()) .append(", ") .append($P{bean}.getResponsable().isMale() ? "Director dos Serviços Académicos do" : "Directora dos Serviços Académicos do") .append(" ") .append($P{bean}.getInstitutionName()) .append(", ") .append("certifica que o aluno") .append(" ") .append($P{bean}.getStudent().getNumber()) .append(" - ") .append($P{bean}.getStudent().getName()) .append(", ") .append("da Universidade de") .append(" ") .append($P{bean}.getCandidacy().getUniversityUnit().getName()) .append(", ") .append("frequentou este instituto durante o ano lectivo") .append(" ") .append($P{bean}.getAttendedYear().getName()) .append(", ") .append("ao abrigo ") .append($P{bean}.getPrefixedMobilityProgram().getContent(pt.utl.ist.fenix.tools.util.i18n.Language.pt)) .append(" e obteve aprovação nas seguintes unidades curriculares") .append(":").toString()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="20" y="178" width="475" height="90" key="header-en" positionType="Float"/> <box leftPadding="1" rightPadding="1" topPadding="1" bottomPadding="1"></box> <textElement textAlignment="Justified" lineSpacing="Single"> <font pdfFontName="Helvetica-Oblique" size="10" isItalic="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new StringBuilder($P{bean}.getResponsable().getName()) .append(", ") .append("Director of the Academic Services of") .append(" ") .append($P{bean}.getInstitutionNameEn()) .append(", ") .append("certifies that the student") .append(" ") .append($P{bean}.getStudent().getNumber()) .append(" - ") .append($P{bean}.getStudent().getName()) .append(", ") .append("from the University of") .append(" ") .append($P{bean}.getCandidacy().getUniversityUnit().getName()) .append(", ") .append("attended this Institute during the academic year of") .append(" ") .append($P{bean}.getAttendedYear().getName()) .append(", ") .append("in the framework ") .append($P{bean}.getPrefixedMobilityProgram().getContent(pt.utl.ist.fenix.tools.util.i18n.Language.en)) .append(" and successfully passed the examinations required for the following courses") .append(":").toString()]]></textFieldExpression> </textField> </band>