public BillingReport(XElement reportData)
        {
            this.m_ReportData = reportData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Billing Report");
            NoFooter footer = new NoFooter();
            this.m_ReportDocument = new ReportDocument(header, footer);

            WriteDocument();
        }
 /// <summary>method initilize report with headers and footer
 /// </summary>
 private void SetupReport(string reportName)
 {
     ReportFirstPageHeader firstPageHeader = new ReportFirstPageHeader(reportName, m_PageHeaderData);
     ReportNextPageHeader nextPageHeader = new ReportNextPageHeader(m_PageHeaderData);
     ReportFooter footer = new ReportFooter();
     m_ReportDocument = new Document.Xps.ReportDocument(firstPageHeader, footer, nextPageHeader);
 }
        /// <summary>default constructor
        /// </summary>
        /// <param name="reportData">report XML data</param>
        public PlacentalPathologyQuestionnaire(Result.Data.PlacentalPathologyQuestionnaireData reportData)
        {
            m_PlacentalPathologyData = reportData;
            if (m_PlacentalPathologyData == null) throw new ApplicationException("XML data file have not \"PlacentalPathologyQuestionnaire\" node");

            NoHeader header = new NoHeader();
            NoFooter footer = new NoFooter();
            m_ReportDocument = new ReportDocument(header, footer);

            SetupDocumentLayout();
            WriteDemographicHistorySection();
            WriteIndicationsSection();
            WriteDateTimeSignSection();
        }