コード例 #1
0
 internal Report(Microsoft.ReportingServices.ReportProcessing.Report reportDef, Microsoft.ReportingServices.ReportProcessing.ReportInstance reportInstance, Microsoft.ReportingServices.ReportRendering.RenderingContext oldRenderingContext, RenderingContext renderingContext, string reportName, string description)
 {
     m_renderReport         = new Microsoft.ReportingServices.ReportRendering.Report(reportDef, reportInstance, oldRenderingContext, reportName, description, Localization.DefaultReportServerSpecificCulture);
     m_parentDefinitionPath = null;
     m_isOldSnapshot        = true;
     m_subreportInSubtotal  = false;
     m_renderingContext     = renderingContext;
     m_name        = reportName;
     m_description = description;
     if (m_renderReport.NeedsHeaderFooterEvaluation)
     {
         m_pageEvaluation = new ShimPageEvaluation(this);
         m_renderingContext.SetPageEvaluation(m_pageEvaluation);
     }
 }
コード例 #2
0
 internal Report(Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDef, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, RenderingContext renderingContext, string reportName, string description)
 {
     m_parentDefinitionPath = null;
     m_isOldSnapshot        = false;
     m_reportDef            = reportDef;
     m_reportInstance       = reportInstance;
     m_renderingContext     = renderingContext;
     m_name        = reportName;
     m_description = description;
     if (reportDef.HasHeadersOrFooters)
     {
         m_pageEvaluation = new OnDemandPageEvaluation(this);
         m_renderingContext.SetPageEvaluation(m_pageEvaluation);
     }
 }