private RenderingContext GetOrCreateRenderingContext(Microsoft.ReportingServices.ReportIntermediateFormat.SubReport subReport, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance) { RenderingContext renderingContext = null; if (m_report == null) { renderingContext = new RenderingContext(m_renderingContext, subReport.OdpContext); m_report = new Report(this, subReport.Report, reportInstance, renderingContext, subReport.ReportName, subReport.Description, m_inSubtotal); } else { renderingContext = m_report.RenderingContext; m_report.SetNewContext(reportInstance); } return(renderingContext); }
public void ResetContext() { m_reportDef.SetNewContext(); }