Example #1
0
 public Page(IDefinitionPath parentDefinitionPath, AspNetCore.ReportingServices.ReportRendering.Report renderReport, RenderingContext renderingContext, ReportSection reportSection)
     : base(parentDefinitionPath, renderingContext)
 {
     base.m_isOldSnapshot = true;
     this.m_renderReport  = renderReport;
     this.m_reportSection = reportSection;
 }
Example #2
0
 public void UpdateSubReportContents(AspNetCore.ReportingServices.ReportRendering.Report newRenderSubreport)
 {
     this.m_renderReport = newRenderSubreport;
     if (this.m_reportItems != null)
     {
         this.m_reportItems.UpdateRenderReportItem(this.m_renderReport.Body.ReportItemCollection);
     }
 }
Example #3
0
 public Body(IDefinitionPath parentDefinitionPath, bool subreportInSubtotal, AspNetCore.ReportingServices.ReportRendering.Report renderReport, RenderingContext renderingContext)
     : base(parentDefinitionPath, renderingContext)
 {
     base.m_isOldSnapshot       = true;
     this.m_subreportInSubtotal = subreportInSubtotal;
     this.m_renderReport        = renderReport;
     base.m_renderingContext    = renderingContext;
 }
 public void UpdateSubReportContents(AspNetCore.ReportingServices.ReportRendering.Report newRenderSubreport)
 {
     this.m_renderReport = newRenderSubreport;
     if (this.m_body != null)
     {
         this.m_body.UpdateSubReportContents(this.m_renderReport);
     }
     if (this.m_page != null)
     {
         this.m_page.UpdateSubReportContents(this.m_renderReport);
     }
 }
Example #5
0
 public Report(IDefinitionPath parentDefinitionPath, bool subreportInSubtotal, AspNetCore.ReportingServices.ReportRendering.SubReport subReport, RenderingContext renderingContext)
 {
     this.m_parentDefinitionPath = parentDefinitionPath;
     this.m_renderReport         = subReport.Report;
     this.m_isOldSnapshot        = true;
     this.m_subreportInSubtotal  = subreportInSubtotal;
     if (this.m_renderReport != null)
     {
         this.m_name        = this.m_renderReport.Name;
         this.m_description = this.m_renderReport.Description;
     }
     this.m_renderingContext = new RenderingContext(renderingContext);
     this.m_pageEvaluation   = null;
 }
Example #6
0
 public void UpdateSubReportContents(SubReport subReport, AspNetCore.ReportingServices.ReportRendering.SubReport renderSubreport)
 {
     if (renderSubreport != null)
     {
         this.m_renderReport = renderSubreport.Report;
     }
     if (this.m_reportSections != null)
     {
         ((ReportElementCollectionBase <ReportSection>) this.m_reportSections)[0].UpdateSubReportContents(this.m_renderReport);
     }
     if (this.m_parameters != null)
     {
         this.m_parameters.UpdateRenderReportItem(this.m_renderReport.Parameters);
     }
 }
Example #7
0
 public Report(AspNetCore.ReportingServices.ReportProcessing.Report reportDef, AspNetCore.ReportingServices.ReportProcessing.ReportInstance reportInstance, AspNetCore.ReportingServices.ReportRendering.RenderingContext oldRenderingContext, RenderingContext renderingContext, string reportName, string description)
 {
     this.m_renderReport         = new AspNetCore.ReportingServices.ReportRendering.Report(reportDef, reportInstance, oldRenderingContext, reportName, description, Localization.DefaultReportServerSpecificCulture);
     this.m_parentDefinitionPath = null;
     this.m_isOldSnapshot        = true;
     this.m_subreportInSubtotal  = false;
     this.m_renderingContext     = renderingContext;
     this.m_name        = reportName;
     this.m_description = description;
     if (this.m_renderReport.NeedsHeaderFooterEvaluation)
     {
         this.m_pageEvaluation = new ShimPageEvaluation(this);
         this.m_renderingContext.SetPageEvaluation(this.m_pageEvaluation);
     }
 }
 public ReportSectionCollection(Report reportDef, AspNetCore.ReportingServices.ReportRendering.Report renderReport)
 {
     this.m_sections    = new ReportSection[1];
     this.m_sections[0] = new ReportSection(reportDef, renderReport, 0);
 }
 public ReportSection(Report reportDef, AspNetCore.ReportingServices.ReportRendering.Report renderReport, int indexInCollection)
     : this(reportDef, indexInCollection)
 {
     this.m_renderReport = renderReport;
 }
Example #10
0
 public void UpdateSubReportContents(AspNetCore.ReportingServices.ReportRendering.Report newRenderSubreport)
 {
     this.m_renderReport = newRenderSubreport;
     this.UpdateWithCurrentPageSections(this.m_renderReport.PageHeader, this.m_renderReport.PageFooter);
 }