spreadsheet.setHeader("Estimativa total de trabalho");
}
private void addEctsLabelContextRow(final Spreadsheet spreadsheet, final Context context, final ExecutionYear executionYear) {
final Row row = spreadsheet.addRow();
final ExecutionSemester executionSemester = getExecutionSemester(context, executionYear);
final CurricularCourse curricular = (CurricularCourse) context.getChildDegreeModule();
row.setCell(curricular.getDegree().getDegreeType().getLocalizedName());
row.setCell(curricular.getDegree().getNameFor(executionSemester).getContent());
row.setCell(curricular.getDegree().getSigla());
row.setCell(curricular.getName(executionSemester));
row.setCell(curricular.getNameEn(executionSemester));
final CompetenceCourse competenceCourse = curricular.getCompetenceCourse();
if (competenceCourse != null) {
row.setCell(competenceCourse.getAcronym(executionSemester));
} else {
row.setCell("");
}
row.setCell(context.getCurricularYear());
setSemesterAndDuration(row, context);
row.setCell(curricular.hasCompetenceCourseLevel() ? curricular.getCompetenceCourseLevel().getLocalizedName() : "");
row.setCell(curricular.getEctsCredits(executionSemester));
row.setCell(getLanguage(curricular));
row.setCell(getTeachers(curricular, executionSemester));
row.setCell(curricular.getContactLoad(context.getCurricularPeriod(), executionSemester));
row.setCell(normalize(curricular.getObjectives(executionSemester)));
row.setCell(normalize(curricular.getObjectivesEn(executionSemester)));
row.setCell(normalize(curricular.getProgram(executionSemester)));
row.setCell(normalize(curricular.getProgramEn(executionSemester)));
final BibliographicReferences references = getBibliographicReferences(curricular, executionSemester);
if (references == null) {
row.setCell(" ");
row.setCell(" ");
} else {
row.setCell(normalize(getBibliographicReferences(references.getMainBibliographicReferences())));
row.setCell(normalize(getBibliographicReferences(references.getSecondaryBibliographicReferences())));
}
row.setCell(normalize(curricular.getEvaluationMethod(executionSemester)));
row.setCell(normalize(curricular.getEvaluationMethodEn(executionSemester)));
row.setCell(curricular.getTotalLoad(context.getCurricularPeriod(), executionSemester));
}