private static void SwapRowsInCellTable(Shape shape, string cellName, int row1, int row2) { Table table = Common.GetCellTable(shape, cellName); if (!table.IsEmpty()) { table.SwapRows(row1, row2); Common.SetCellTable(shape, cellName, table); } }