/// <summary> /// Copy (text) contents of srcCell into dstCell. /// Clears text of dstCell plus all but first paragraph instance before copying. /// </summary> /// <param name="srcCell"></param> /// <param name="dstCell"></param> public static void CellCopyContents(Cell srcCell, Cell dstCell) { CellClear(dstCell, true); srcCell.Paragraphs.ToList().ForEach(p => dstCell.InsertParagraph(p)); }