public void CellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
{
setLastRenderedRowNumber();
applyCustomCellLayout(cell, position, canvases);
applyGradientBackground(position, canvases);
if (_pdfRptCell.SharedData.PdfColumnAttributes == null) return;
if (_pdfRptCell.SharedData.PdfColumnAttributes.AggregateFunction == null) return;
if (_pdfRptCell.SharedData.PdfColumnAttributes.IsRowNumber) return;
if (_pdfRptCell.RowData.PdfRowType == RowType.PreviousPageSummaryRow ||
_pdfRptCell.RowData.PdfRowType == RowType.AllGroupsSummaryRow ||
_pdfRptCell.RowData.PdfRowType == RowType.PageSummaryRow ||
_pdfRptCell.RowData.PdfRowType == RowType.SummaryRow)
{
setPagesInfo();
printSummary(position, canvases);
}
}