public CellAttributes AddPreviousPageSummaryCell(BaseColor backgroundColor, BaseColor foreColor, int columnNumber)
{
var alignment = SharedData.SummarySettings.PreviousPageSummarySettings.LabelHorizontalAlignment;
return AddGeneralCell(
backgroundColor,
foreColor,
SharedData.SummarySettings.PreviousPageSummarySettings.Label,
columnNumber,
RowType.PreviousPageSummaryRow,
CellType.PreviousPageSummaryCell,
horizontalAlignment: alignment.HasValue ? alignment.Value : HorizontalAlignment.None);
}