Package pt.utl.ist.fenix.tools.util.excel

Examples of pt.utl.ist.fenix.tools.util.excel.StyledExcelSpreadsheet.addCell()


                        spreadsheet.addCell(executionLoad);
                    }
                    if (!shiftCourseLoad.equals(executionLoad)) {
                        if (isLargeDifference(shiftCourseLoad, executionLoad,
                                competenceCourseLoad.divide(new BigDecimal(14), 2, RoundingMode.HALF_EVEN))) {
                            spreadsheet.addCell(shiftCourseLoad, redStyle);
                        } else {
                            spreadsheet.addCell(shiftCourseLoad, yellowStyle);
                        }
                    } else {
                        spreadsheet.addCell(shiftCourseLoad);
View Full Code Here


                    if (!shiftCourseLoad.equals(executionLoad)) {
                        if (isLargeDifference(shiftCourseLoad, executionLoad,
                                competenceCourseLoad.divide(new BigDecimal(14), 2, RoundingMode.HALF_EVEN))) {
                            spreadsheet.addCell(shiftCourseLoad, redStyle);
                        } else {
                            spreadsheet.addCell(shiftCourseLoad, yellowStyle);
                        }
                    } else {
                        spreadsheet.addCell(shiftCourseLoad);
                    }
                    spreadsheet.addCell(shift.getAssociatedLessonsSet().size());
View Full Code Here

                            spreadsheet.addCell(shiftCourseLoad, redStyle);
                        } else {
                            spreadsheet.addCell(shiftCourseLoad, yellowStyle);
                        }
                    } else {
                        spreadsheet.addCell(shiftCourseLoad);
                    }
                    spreadsheet.addCell(shift.getAssociatedLessonsSet().size());
                    spreadsheet.addCell(getLessonInstanceCount(shift));
                }
            }
View Full Code Here

                            spreadsheet.addCell(shiftCourseLoad, yellowStyle);
                        }
                    } else {
                        spreadsheet.addCell(shiftCourseLoad);
                    }
                    spreadsheet.addCell(shift.getAssociatedLessonsSet().size());
                    spreadsheet.addCell(getLessonInstanceCount(shift));
                }
            }
        }
View Full Code Here

                        }
                    } else {
                        spreadsheet.addCell(shiftCourseLoad);
                    }
                    spreadsheet.addCell(shift.getAssociatedLessonsSet().size());
                    spreadsheet.addCell(getLessonInstanceCount(shift));
                }
            }
        }

        final HSSFSheet sheet = wb.getSheetAt(0);
View Full Code Here

        for (final ExecutionCourse executionCourse : executionSemester.getAssociatedExecutionCoursesSet()) {
            for (final CourseLoad courseLoad : executionCourse.getCourseLoadsSet()) {
                for (final Shift shift : courseLoad.getShiftsSet()) {
                    spreadsheet.newRow();
                    spreadsheet.addCell(getDepartmentString(executionCourse));
                    spreadsheet.addCell(executionCourse.getDegreePresentationString());
                    spreadsheet.addCell(executionCourse.getName());
                    spreadsheet.addCell(shift.getNome());
                    spreadsheet.addCell(courseLoad.getType().getFullNameTipoAula());
                    final BigDecimal competenceCourseLoad =
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.