final int columnIndex = cellIndex.getColumnIndex();
while (columnIndex != _row.getCellList().size())
_row.getCellList().add( null );
if (formula != null) {
final CellWithLazilyParsedExpression exprCell = new CellWithLazilyParsedExpression(
_row, new LazySpreadsheetExpressionParser( formula, CellRefFormat.A1_OOXML ) );
if (formulaIndex != null) {
sharedFormulas.put( formulaIndex, exprCell );
}
if (this.config.loadAllCellValues)
exprCell.setValue( parseCellValue( dataType, styleIndex, value ) );
return;
}
if (formulaIndex != null) {
final CellWithExpression expression = sharedFormulas.get( formulaIndex );
final CellWithExpression exprCell = new CellWithSharedExpression( _row, expression );
if (this.config.loadAllCellValues)
exprCell.setValue( parseCellValue( dataType, styleIndex, value ) );
return;
}
// Cell with constant