public static Cell createCell(Row row, int column, String value, CellStyle style) {Cell cell = getCell(row, column);cell.setCellValue(cell.getRow().getSheet().getWorkbook().getCreationHelper().createRichTextString(value));if (style != null) {cell.setCellStyle(style);}return cell;}

public static Cell createCell ( Row row , int column , String value , CellStyle style ) { Cell cell = getCell ( row , column ) ; cell . setCellValue ( cell . getRow ( ) . getSheet ( ) . getWorkbook ( ) . getCreationHelper ( ) . createRichTextString ( value ) ) ; if ( style != null ) { cell . setCellStyle ( style ) ; } return cell ; }
public static ICell CreateCell(IRow row, int column, String value, HSSFCellStyle style){ICell cell = GetCell(row, column);cell.SetCellValue(new HSSFRichTextString(value));if (style != null){cell.CellStyle = (style);}return cell;}
