private static GMTableCell TransformCell(GMTableCell cell, Func <BoundingBox, BoundingBox> boxConverter) { return(new GMTableCell( TransformTextBlock(cell.TextBlock, boxConverter), cell.RowIndex, cell.ColIndex, cell.RowSpan, cell.ColSpan)); }
private static GMTableCell RemoveEmptyElementsInCell(GMTableCell cell) { var newTextBlock = cell.TextBlock.RemoveEmptyElements(); return(new GMTableCell( newTextBlock, cell.RowIndex, cell.ColIndex, cell.RowSpan, cell.ColSpan)); }