Beispiel #1
0
 internal RenderingContext(RenderingContext parentContext, OnDemandProcessingContext onDemandProcessingContext)
 {
     m_rendererID         = parentContext.m_rendererID;
     m_isSubReportContext = true;
     m_pageEvaluation     = null;
     m_dynamicInstances   = null;
     m_oldReportSnapshot  = parentContext.m_oldReportSnapshot;
     m_eventInfo          = parentContext.EventInfo;
     m_reportSnapshot     = parentContext.m_reportSnapshot;
     m_chunkManager       = parentContext.m_chunkManager;
     m_odpContext         = onDemandProcessingContext;
 }
Beispiel #2
0
 internal Report(IDefinitionPath parentDefinitionPath, Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDef, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, RenderingContext renderingContext, string reportName, string description, bool subreportInSubtotal)
 {
     m_parentDefinitionPath = parentDefinitionPath;
     m_isOldSnapshot        = false;
     m_reportDef            = reportDef;
     m_reportInstance       = reportInstance;
     m_isOldSnapshot        = false;
     m_subreportInSubtotal  = subreportInSubtotal;
     m_renderingContext     = renderingContext;
     m_name           = reportName;
     m_description    = description;
     m_pageEvaluation = null;
 }
Beispiel #3
0
 internal Report(IDefinitionPath parentDefinitionPath, bool subreportInSubtotal, Microsoft.ReportingServices.ReportRendering.SubReport subReport, RenderingContext renderingContext)
 {
     m_parentDefinitionPath = parentDefinitionPath;
     m_renderReport         = subReport.Report;
     m_isOldSnapshot        = true;
     m_subreportInSubtotal  = subreportInSubtotal;
     if (m_renderReport != null)
     {
         m_name        = m_renderReport.Name;
         m_description = m_renderReport.Description;
     }
     m_renderingContext = new RenderingContext(renderingContext);
     m_pageEvaluation   = null;
 }
Beispiel #4
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);
     }
 }
Beispiel #5
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);
     }
 }
Beispiel #6
0
 internal RenderingContext(RenderingContext parentContext, bool hasReportItemReferences)
 {
     m_rendererID         = parentContext.m_rendererID;
     m_isSubReportContext = true;
     m_pageEvaluation     = null;
     m_dynamicInstances   = null;
     m_eventInfo          = parentContext.EventInfo;
     m_reportSnapshot     = parentContext.m_reportSnapshot;
     m_oldReportSnapshot  = parentContext.m_oldReportSnapshot;
     m_chunkManager       = parentContext.m_chunkManager;
     if (m_oldReportSnapshot != null)
     {
         m_odpContext = parentContext.OdpContext;
     }
     else
     {
         m_odpContext = new OnDemandProcessingContext(parentContext.m_odpContext, hasReportItemReferences, m_reportSnapshot.Report);
     }
 }
Beispiel #7
0
 internal void SetPageEvaluation(PageEvaluation pageEvaluation)
 {
     m_pageEvaluation = pageEvaluation;
 }