text: public void SetCellValue(bool value){int row = _record.Row;int col = _record.Column;short styleIndex = _record.XFIndex;switch (cellType){case CellType.Boolean:((BoolErrRecord)_record).SetValue(value);break;case CellType.Formula:((FormulaRecordAggregate)_record).SetCachedBooleanResult(value);break;default:SetCellType(CellType.Boolean, false, row, col, styleIndex);((BoolErrRecord)_record).SetValue(value);break;}}