示例#1
0
 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;
         }
     }
 }
示例#2
0
 /// <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;
 }