private void AppendHeader(PdfPTable table, VisitedRouteInfo route)
 {
     this.AddCellToTable(string.Format(ROUTE_MESSAGE, route.StartTownName, route.EndTownName), table, BaseColor.GRAY, COLSPAN_MERGE_ALL_CELLS);
     this.AddCellToTable(COLUMN_DRIVER_TITLE, table, BaseColor.LIGHT_GRAY, null, PdfPCell.ALIGN_CENTER);
     this.AddCellToTable(COLUMN_VEHICLE_TITLE, table, BaseColor.LIGHT_GRAY, null, PdfPCell.ALIGN_CENTER);
     this.AddCellToTable(COLUMN_DATE_TITLE, table, BaseColor.LIGHT_GRAY, null, PdfPCell.ALIGN_CENTER);
 }
        private void AppendAggregateRow(VisitedRouteInfo route, PdfPTable table)
        {
            var driversCount  = route.VehicleRouteInfo.Count();
            var totalDistance = route.Distance * driversCount;

            this.AddCellToTable(string.Format(AGGREGATE_MESSAGE, driversCount, totalDistance), table, null, COLSPAN_MERGE_ALL_CELLS, PdfPCell.ALIGN_RIGHT);
        }