--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="competence" language="groovy" pageWidth="575" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="575" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenResourceMissingType="Empty">
+ <property name="ireport.zoom" value="2.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <parameter name="datasource" class="java.util.List"/>
+ <field name="competence" class="com.pentila.evalcomp.utilities.export.CompositeCompetence"/>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <detail>
+ <band height="15" splitType="Stretch">
+ <frame>
+ <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="15"/>
+ <box>
+ <pen lineWidth="1.0"/>
+ <topPen lineWidth="1.0"/>
+ <leftPen lineWidth="1.0"/>
+ <bottomPen lineWidth="1.0"/>
+ <rightPen lineWidth="1.0"/>
+ </box>
+ <frame>
+ <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="495" height="15"/>
+ <textField>
+ <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="30" height="15"/>
+ <textElement/>
+ <textFieldExpression class="java.lang.String"><![CDATA[$F{competence}.getCompetence().getName()]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true">
+ <reportElement stretchType="RelativeToTallestObject" x="46" y="0" width="449" height="15"/>
+ <textElement>
+ <font size="8"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[""+$F{competence}.getCompetence().getDescription()]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="30" y="0" width="16" height="15">
+ <printWhenExpression><![CDATA[$F{competence}.getCompetence().getRequired()]]></printWhenExpression>
+ </reportElement>
+ <textElement/>
+ <textFieldExpression class="java.lang.String"><![CDATA["*"]]></textFieldExpression>
+ </textField>
+ </frame>
+ <frame>
+ <reportElement stretchType="RelativeToTallestObject" x="495" y="0" width="80" height="15"/>
+ <box>
+ <pen lineWidth="1.0"/>
+ <topPen lineWidth="1.0"/>
+ <leftPen lineWidth="1.0"/>
+ <bottomPen lineWidth="1.0"/>
+ <rightPen lineWidth="1.0"/>
+ </box>
+ <textField>
+ <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="80" height="15"/>
+ <textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Arial" size="8"/></textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[$F{competence}.getResult().equals("1") ? "Validée" : "Non validée"]]></textFieldExpression>
+ </textField>
+ </frame>
+ </frame>
+ </band>
+ </detail>
+</jasperReport>