Typo fixes
This commit is contained in:
@@ -27,7 +27,7 @@ namespace QuestPDF.Examples
|
||||
.EnableCaching()
|
||||
.EnableDebugging(false)
|
||||
.ShowResults()
|
||||
.Render(container => GeneratePerformanceStructure(container, 1));
|
||||
.Render(container => GeneratePerformanceStructure(container, 10));
|
||||
}
|
||||
|
||||
public static void GeneratePerformanceStructure(IContainer container, int repeats)
|
||||
|
||||
@@ -174,13 +174,13 @@ namespace QuestPDF.Elements.Table
|
||||
|
||||
var cellSize = cell.Measure(availableCellSize);
|
||||
|
||||
// corner case: cell within the row is not fully rendered, do not attempt to render next row
|
||||
// corner case: if cell within the row is not fully rendered, do not attempt to render next row
|
||||
if (cellSize.Type == SpacePlanType.PartialRender)
|
||||
{
|
||||
maxRenderingRow = Math.Min(maxRenderingRow, cell.Row + cell.RowSpan - 1);
|
||||
}
|
||||
|
||||
// corner case: cell within the row want to wrap to the next page, do not attempt to render this row
|
||||
// corner case: if cell within the row want to wrap to the next page, do not attempt to render this row
|
||||
if (cellSize.Type == SpacePlanType.Wrap)
|
||||
{
|
||||
maxRenderingRow = Math.Min(maxRenderingRow, cell.Row - 1);
|
||||
@@ -201,7 +201,7 @@ namespace QuestPDF.Elements.Table
|
||||
});
|
||||
}
|
||||
|
||||
// corner case: reject cell if other cells within the same rows are rejected
|
||||
// corner case: reject cell if other cells within the same row are rejected
|
||||
return commands.Where(x => x.Cell.Row <= maxRenderingRow).ToList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user