Exemplo n.º 1
0
 public IXLCells CellsUsed(Boolean includeFormats)
 {
     var cells = new XLCells(true, includeFormats);
     foreach (XLRangeRow container in _ranges)
         cells.Add(container.RangeAddress);
     return cells;
 }
Exemplo n.º 2
0
 public IXLCells CellsUsed()
 {
     var cells = new XLCells(true, false);
     foreach (XLRangeRow container in _ranges)
         cells.Add(container.RangeAddress);
     return cells;
 }
 public IXLCells Cells()
 {
     var cells = new XLCells(false, false);
     foreach (XLRangeColumn container in _ranges)
         cells.Add(container.RangeAddress);
     return cells;
 }
Exemplo n.º 4
0
 public new IXLCells Cells(string cellsInRow)
 {
     var retVal = new XLCells(false, false);
     var rangePairs = cellsInRow.Split(',');
     foreach (string pair in rangePairs)
         retVal.Add(Range(pair.Trim()).RangeAddress);
     return retVal;
 }
Exemplo n.º 5
0
 public IXLCells FindCells(Func<IXLCell, Boolean> predicate)
 {
     var cells = new XLCells(false, false);
     foreach (XLWorksheet ws in WorksheetsInternal)
     {
         foreach (XLCell cell in ws.CellsUsed(true))
         {
             if (predicate(cell))
                 cells.Add(cell);
         }
     }
     return cells;
 }