}
private void handleCell(final HSSFWorkbook workbook, final HSSFRow row, final Cell cell, final int cellNum) {
HSSFCell c = row.createCell(cellNum);
HSSFFont font = workbook.createFont();
font.setColor(this.getColor(workbook, cell.getFontColor()));
font.setFontName(cell.getFont());
font.setFontHeightInPoints((short) cell.getFontSize());
if (cell.isBold()) {
font.setBoldweight(Font.BOLDWEIGHT_BOLD);
}
if (cell.isItalic()) {
font.setItalic(true);
}
if (cell.isStrikeout()) {
font.setStrikeout(true);
}
if (cell.isUnderline()) {
font.setUnderline(Font.U_SINGLE);
}
HSSFCellStyle style = workbook.createCellStyle();
style.setAlignment(this.getAlignment(cell.getAlignment()));
style.setVerticalAlignment(this.getVerticalAlignment(cell.getVerticalAlignment()));