: currentRowIndex;
int useColumn = uiCell.getColumn() != null ? uiCell.getColumn()
: currentColumnIndex;
CellInfo cellInfo = jxlHelper.getCellInfo(uiCell);
WritableCell cell = JXLHelper.createCell(useColumn, useRow, cellInfo
.getCellType(), uiCell.getValue(), cellInfo.getCellFormat());
if (cellInfo.getCellFeatures() != null) {
cell.setCellFeatures(cellInfo.getCellFeatures());
}
try {
worksheet.addCell(cell);
} catch (WriteException e) {
throw new ExcelWorkbookException("Could not add cell", e);