public void MakeDocument(ReportDocument reportDocument, string strFontSize, string strStartDate, string strEndDate)
        {
            TextStyle.ResetStyles();

            float fFontSize = 10;
            float.TryParse(strFontSize, out fFontSize);

            TextStyle.Normal.Size = 10;
            TextStyle.Heading1.Size = 16;
            TextStyle.Heading1.Bold = true;
            TextStyle.TableHeader.StringAlignment = StringAlignment.Center;
            TextStyle.TableHeader.Size = fFontSize;
            TextStyle.TableHeader.Bold = true;
            TextStyle.TableRow.Size = fFontSize;
            TextStyle.TableRow.Bold = false;

            var builder = new ReportBuilder(reportDocument);
            builder.StartLinearLayout(Direction.Vertical);

            var margins = new Margins(40, 30, 60, 0);
            builder.CurrentDocument.DefaultPageSettings.Margins = margins;

            var dv = GetDataView(strStartDate, strEndDate);
            //builder.AddPageHeader(String.Empty, "This is test 11 - Tables with lines", "page %p");
            builder.AddPageHeader(String.Empty, "Scheduled Lens Replenishment Compliance Report", "Date: " + DateTime.Now.ToShortDateString());
            //builder.AddPageFooter("Page %p of %tp" , HorizontalAlignment.Right);
            //builder.AddText("Patients to be notified for scheduled lens replenishments during the month of: " + DateTime.Now.AddMonths(1).ToString("MMMM") + " " + DateTime.Now.AddMonths(1).Year + ".");
            builder.AddHorizontalLine();
            builder.DefaultTablePen = reportDocument.ThinPen;
            builder.AddTable(dv, true, 100);
            builder.CurrentSection.UseFullWidth = true;
            var headerRow = new TextStyle(TextStyle.TableHeader) { StringAlignment = StringAlignment.Center };

            //builder.AddColumn("PatientName", "Name", 1.4f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("PatientAddress", "Address", 1.1f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("RpS", "RpS", .6f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("NextSchdReplacement", "Next Schd Repl", .9f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Eye", "Eye", .3f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Manf", "Manufacturer", 1f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Series", "Series", .7f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("BC", "BC", .3f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("DIA", "DIA", .3f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Sphere", "Sphere", .5f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("CYL", "CYL", .3f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Axis", "Axis", .3f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Add", "Add", .3f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Tint", "Tint", 1f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("Automail", "AM", .2f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;
            //builder.AddColumn("DoNotSend", "DS", .2f, false, false);
            //builder.CurrentColumn.HeaderTextStyle = headerRow;

            builder.AddColumn("PatientName", "Patient", 1.1f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("RpS", "RpS", .7f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("NextSchdReplacement", "Next Schd Repl", 1.1f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Eye", "Eye", .2f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Manf", "Manufacturer", 1f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Series", "Series", .7f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("BC", "BC", .6f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("DIA", "DIA", .5f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Sphere", "Sphere", .6f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("CYL", "CYL", .7f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Axis", "Axis", .5f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Add", "Add", .6f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Tint", "Tint", 1.2f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("Automail", "AM", .2f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;
            builder.AddColumn("DoNotSend", "DS", .2f, false, false);
            builder.CurrentColumn.HeaderTextStyle = headerRow;

            builder.FinishLinearLayout();
        }