private WritableCell createCell( CellInstance _c, WritableWorkbook _xwb, int _col, int _row )
throws SpreadsheetException
{
if (_c instanceof CellWithExpression) {
final ExpressionNode expr = ((CellWithExpression) _c).getExpression();
return new Formula( _col, _row, this.formatter.format( expr ) );
}
else {
final Object val = _c.getValue();
if (val instanceof String) {