C# Class ExcelFormulaParser.Engine.ExcelDataProvider

This class should be implemented to be able to deliver excel data to the formula parser.
Inheritance: IDisposable
显示文件 Open project: swmal/ExcelFormulaParser Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Use this method to free unmanaged resources.

GetCellValue ( int row, int col ) : ExcelCell

Returns a single cell value

GetCellValue ( string address ) : ExcelCell

Returns a single cell value

GetRangeValues ( string address ) : IEnumerable

Returns values from the required range.

GetWorkbookFormulas ( ) : string>.IDictionary

Returns all formulas in a workbook

GetWorkbookNameValues ( ) : object>.IDictionary

Returns all defined names in a workbook

GetWorksheetFormulas ( string sheetName ) : string>.IDictionary

Returns all formulas on a worksheet

GetWorksheetNames ( ) : IEnumerable

Returns the names of all worksheet names

SetCellValue ( string address, object value ) : void

Sets the value on the cell

Method Details

Dispose() public abstract method

Use this method to free unmanaged resources.
public abstract Dispose ( ) : void
return void

GetCellValue() public abstract method

Returns a single cell value
public abstract GetCellValue ( int row, int col ) : ExcelCell
row int
col int
return ExcelCell

GetCellValue() public abstract method

Returns a single cell value
public abstract GetCellValue ( string address ) : ExcelCell
address string
return ExcelCell

GetRangeValues() public abstract method

Returns values from the required range.
public abstract GetRangeValues ( string address ) : IEnumerable
address string An Excel address
return IEnumerable

GetWorkbookFormulas() public abstract method

Returns all formulas in a workbook
public abstract GetWorkbookFormulas ( ) : string>.IDictionary
return string>.IDictionary

GetWorkbookNameValues() public abstract method

Returns all defined names in a workbook
public abstract GetWorkbookNameValues ( ) : object>.IDictionary
return object>.IDictionary

GetWorksheetFormulas() public abstract method

Returns all formulas on a worksheet
public abstract GetWorksheetFormulas ( string sheetName ) : string>.IDictionary
sheetName string
return string>.IDictionary

GetWorksheetNames() public abstract method

Returns the names of all worksheet names
public abstract GetWorksheetNames ( ) : IEnumerable
return IEnumerable

SetCellValue() public abstract method

Sets the value on the cell
public abstract SetCellValue ( string address, object value ) : void
address string
value object
return void