示例#1
0
 public RangeInfo(ExcelWorksheet ws, int fromRow, int fromCol, int toRow, int toCol)
 {
     _ws          = ws;
     _fromRow     = fromRow;
     _fromCol     = fromCol;
     _toRow       = toRow;
     _toCol       = toCol;
     _address     = new ExcelAddress(_fromRow, _fromCol, _toRow, _toCol);
     _address._ws = ws.Name;
     _values      = ws._values.GetEnumerator(_fromRow, _fromCol, _toRow, _toCol);
     _cell        = new CellInfo(_ws, _values);
 }
示例#2
0
 public RangeInfo(ExcelWorksheet ws, ExcelAddress address)
 {
     _ws          = ws;
     _fromRow     = address._fromRow;
     _fromCol     = address._fromCol;
     _toRow       = address._toRow;
     _toCol       = address._toCol;
     _address     = address;
     _address._ws = ws.Name;
     _values      = ws._values.GetEnumerator(_fromRow, _fromCol, _toRow, _toCol);
     _cell        = new CellInfo(_ws, _values);
 }
示例#3
0
 internal CellInfo(ExcelWorksheet ws, ICellStoreEnumerator <ExcelCoreValue> values)
 {
     _ws     = ws;
     _values = values;
 }