Ejemplo n.º 1
0
 public void UpdateSubReportScopes(UserSortFilterContext context)
 {
     if (this.m_containingScopes != null && 0 < this.m_containingScopes.Count && this.m_containingScopes.LastEntry == null)
     {
         if (context.DetailScopeSubReports != null)
         {
             this.m_detailScopeSubReports = context.DetailScopeSubReports.Clone();
         }
         else
         {
             this.m_detailScopeSubReports = new SubReportList();
         }
         this.m_detailScopeSubReports.Add(this);
     }
     else
     {
         this.m_detailScopeSubReports = context.DetailScopeSubReports;
     }
     if (context.ContainingScopes != null)
     {
         if (this.m_containingScopes != null && 0 < this.m_containingScopes.Count)
         {
             this.m_containingScopes.InsertRange(0, context.ContainingScopes);
         }
         else
         {
             this.m_containingScopes = context.ContainingScopes;
         }
     }
 }
Ejemplo n.º 2
0
 public void UpdateContextFromDataSet(UserSortFilterContext dataSetContext)
 {
     if (-1 == this.m_dataSetID)
     {
         this.m_dataSetID             = dataSetContext.DataSetID;
         this.m_runtimeSortFilterInfo = dataSetContext.RuntimeSortFilterInfo;
     }
 }
Ejemplo n.º 3
0
 public UserSortFilterContext(UserSortFilterContext parentContext, SubReport subReport)
 {
     this.m_runtimeSortFilterInfo  = parentContext.RuntimeSortFilterInfo;
     this.m_dataSetID              = parentContext.DataSetID;
     this.m_containingScopes       = subReport.ContainingScopes;
     this.m_detailScopeSubReports  = subReport.DetailScopeSubReports;
     this.m_inProcessUserSortPhase = parentContext.m_inProcessUserSortPhase;
 }
Ejemplo n.º 4
0
 public UserSortFilterContext(UserSortFilterContext copy)
 {
     this.m_runtimeSortFilterInfo  = copy.RuntimeSortFilterInfo;
     this.m_currentContainingScope = copy.CurrentContainingScope;
     this.m_containingScopes       = copy.ContainingScopes;
     this.m_dataSetID              = copy.DataSetID;
     this.m_detailScopeSubReports  = copy.DetailScopeSubReports;
     this.m_inProcessUserSortPhase = copy.m_inProcessUserSortPhase;
 }