StringUtils.multipleLineRightPad(LINE_LENGTH - gradeInfo.length(), approvedEnrolment.getName() .getContent(LanguageUtils.getLanguage()).toUpperCase(), '-')).append("\n");
StringUtils.multipleLineRightPadWithSuffix( approvedEnrolment.getName().getContent(LanguageUtils.getLanguage()).toUpperCase(), LINE_LENGTH, '-', gradeInfo.toString())).append("\n");
    protected void fillReport() {	super.fillReport();	final ApprovementCertificateRequest approvementCertificateRequest = (ApprovementCertificateRequest) getDocumentRequest();	final List<Enrolment> approvedEnrolments = approvementCertificateRequest.getRegistration()		.getLastStudentCurricularPlanExceptPast().getAprovedEnrolments();	parameters.put("numberApprovements", Integer.valueOf(approvedEnrolments.size()));	final ComparatorChain comparatorChain = new ComparatorChain();	comparatorChain.addComparator(new BeanComparator("executionPeriod.executionYear"));	comparatorChain.addComparator(new BeanComparator("name"));	Collections.sort(approvedEnrolments, comparatorChain);	StringBuilder approvementsInfo = new StringBuilder();	for (final Enrolment approvedEnrolment : approvedEnrolments) {	    StringBuilder gradeInfo = new StringBuilder();	    gradeInfo.append(" ").append(approvedEnrolment.getLatestEnrolmentEvaluation().getGrade()).append(" em ").append(approvedEnrolment.getExecutionPeriod().getExecutionYear().getYear());	    	    approvementsInfo.append(		    StringUtils.multipleLineRightPad(LINE_LENGTH - gradeInfo.length(), approvedEnrolment.getName()			    .getContent(LanguageUtils.getLanguage()).toUpperCase(), '-')).append("\n");	}	parameters.put("approvementsInfo", approvementsInfo.toString());    }