.generateDossiersInscriptions(evenement))
{
row = sheet.createRow((short) ++i);
final Personne personneInscrite = dossier.getPersonneInscrite();
final Inscription inscription = getInscription(dossier);
row.createCell((short) 0).setCellValue(personneInscrite.getId());
row.createCell((short) 1).setCellValue(
new HSSFRichTextString(personneInscrite.getNoLicence()));
row.createCell((short) 2).setCellValue(
new HSSFRichTextString(inscription.getCategorie()
.getNomComplet()));
row.createCell((short) 3).setCellValue(
new HSSFRichTextString(inscription.getNoPlaque()));
row.createCell((short) 4).setCellValue(
new HSSFRichTextString(personneInscrite.getNom()));
row.createCell((short) 5).setCellValue(
new HSSFRichTextString(personneInscrite.getPrenom()));
Club club = inscription.getClub();
if (club != null)
{
row.createCell((short) 6).setCellValue(
new HSSFRichTextString(club.getNomComplet()));
}
row.createCell((short) 7).setCellValue(
new HSSFRichTextString(inscription.getPersonne().getPays()
.getCode()));
row.createCell((short) 8).setCellValue(
new HSSFRichTextString(inscription.getPersonne()
.getCodeUCI()));
HSSFUtils.createDateCell(wb, row, 9, inscription.getPersonne()
.getDateNaissance());
row.createCell((short) 10)
.setCellValue(
new HSSFRichTextString(inscription.getPersonne()
.getSexe()));
row.createCell((short) 11).setCellValue(
new HSSFRichTextString(personneInscrite.getAdresse()));
row.createCell((short) 12).setCellValue(
new HSSFRichTextString(personneInscrite.getVille()));
row.createCell((short) 13).setCellValue(
new HSSFRichTextString(personneInscrite.getCodePostal()));
row.createCell((short) 14).setCellValue(
new HSSFRichTextString(personneInscrite.getTelephone()));
if (personneInscrite.getProvince() != null)
{
row.createCell((short) 15).setCellValue(
new HSSFRichTextString(personneInscrite.getProvince()
.getCode()));
}
else
{
row.createCell((short) 15).setCellValue(
new HSSFRichTextString("N/A"));
}
row.createCell((short) 16).setCellValue(
new HSSFRichTextString(personneInscrite.getAllergies()));
row.createCell((short) 17).setCellValue(
new HSSFRichTextString(personneInscrite
.getEmergencyNumber()));
row.createCell((short) 18).setCellValue(
new HSSFRichTextString(personneInscrite
.getEmergencyContact()));
// --------- Information sur le compte de la personne inscrite (si applicable) -------
if (personneInscrite.getCompte() != null)
{
row.createCell((short) 19).setCellValue(
new HSSFRichTextString(personneInscrite.getCompte()
.getUsername()));
}
row.createCell((short) 20).setCellValue(
new HSSFRichTextString(inscription.getCommanditaire()));
if (dossier.isInscritToAll())
{
row.createCell((short) 21).setCellValue(
new HSSFRichTextString("X"));