public IXLCells CellsUsed(Boolean includeFormats) { var cells = new XLCells(true, includeFormats); foreach (XLRangeRow container in _ranges) cells.Add(container.RangeAddress); return cells; }
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; }
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; }
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; }