public override void ResetOnDemandState()
 {
     this.m_lastInstancePath   = null;
     this.m_lastRecursiveLevel = 0;
     this.m_lastInScopeResult  = false;
     this.m_lastTablixProcessingReportScope = null;
 }
Exemplo n.º 2
0
        private bool IsTextboxInScope()
        {
            OnDemandProcessingContext odpContext      = m_reportRT.ReportObjectModel.OdpContext;
            IRIFReportScope           iRIFReportScope = null;

            if (odpContext.IsTablixProcessingMode)
            {
                iRIFReportScope = odpContext.LastTablixProcessingReportScope;
                if (iRIFReportScope == null)
                {
                    iRIFReportScope = odpContext.ReportDefinition;
                }
            }
            else if (odpContext.IsTopLevelSubReportProcessing)
            {
                Microsoft.ReportingServices.ReportIntermediateFormat.SubReport subReport = odpContext.LastRIFObject as Microsoft.ReportingServices.ReportIntermediateFormat.SubReport;
                Global.Tracer.Assert(subReport != null, "Missing reference to subreport object");
                iRIFReportScope = subReport.GetContainingSection(odpContext);
            }
            else
            {
                IReportScope currentReportScope = odpContext.CurrentReportScope;
                iRIFReportScope = ((currentReportScope == null) ? odpContext.ReportDefinition : currentReportScope.RIFReportScope);
            }
            if (iRIFReportScope == null || !iRIFReportScope.TextboxInScope(m_textBox.SequenceID))
            {
                return(false);
            }
            return(true);
        }
Exemplo n.º 3
0
 internal override void ResetOnDemandState()
 {
     m_lastInstancePath   = null;
     m_lastRecursiveLevel = 0;
     m_lastInScopeResult  = false;
     m_lastTablixProcessingReportScope = null;
 }