private IEnumerable<Cell> GetCells(XElement rowElement, SharedStrings sharedStrings) { foreach (XElement cellElement in rowElement.Elements()) { Cell cell = new Cell(cellElement, sharedStrings); if (cell.Value != null) { yield return cell; } } }
/// <summary> /// Merge the parameter cell into this cell /// </summary> /// <param name="cell">Cell to merge</param> public void Merge(Cell cell) { this.Value = cell.Value; }