private renderGroupHeader ( IEnumerable |
||
row | IEnumerable |
|
리턴 | void |
private void renderGroupHeader(IEnumerable<CellData> row)
{
applySpacingThreshold();
if (SharedData.Header == null) return;
var groupHeader = SharedData.Header.RenderingGroupHeader(SharedData.PdfDoc, SharedData.PdfWriter, row.ToList(), SharedData.ColumnCellsSummaryData);
if (groupHeader == null) return;
if (SharedData.ShouldWrapTablesInColumns)
{
MainGroupTable.AddCell(new PdfPCell(groupHeader) { Border = 0 });
}
else
{
SharedData.PdfDoc.Add(groupHeader);
}
}