text: public ICell CreateCell(int columnIndex, CellType type){short shortCellNum = (short)columnIndex;if (columnIndex > 0x7FFF){shortCellNum = (short)(0xffff - columnIndex);}ICell cell = new HSSFCell(book, sheet, RowNum, (short)columnIndex, type);AddCell(cell);sheet.Sheet.AddValueRecord(RowNum, ((HSSFCell)cell).CellValueRecord);return cell;}