示例#1
0
 public void TransferHeadingAggregates()
 {
     if (this.SubHeading != null)
     {
         this.SubHeading.TransferHeadingAggregates();
     }
     if (base.m_grouping != null)
     {
         for (int i = 0; i < this.m_aggregates.Count; i++)
         {
             base.m_grouping.Aggregates.Add(this.m_aggregates[i]);
         }
     }
     this.m_aggregates = null;
     if (base.m_grouping != null)
     {
         for (int j = 0; j < this.m_postSortAggregates.Count; j++)
         {
             base.m_grouping.PostSortAggregates.Add(this.m_postSortAggregates[j]);
         }
     }
     this.m_postSortAggregates = null;
     if (base.m_grouping != null)
     {
         for (int k = 0; k < this.m_recursiveAggregates.Count; k++)
         {
             base.m_grouping.RecursiveAggregates.Add(this.m_recursiveAggregates[k]);
         }
     }
     this.m_recursiveAggregates = null;
 }
示例#2
0
 public Pivot(int id, ReportItem parent)
     : base(id, parent)
 {
     this.m_runningValues          = new RunningValueInfoList();
     this.m_cellAggregates         = new DataAggregateInfoList();
     this.m_cellPostSortAggregates = new DataAggregateInfoList();
 }
 public TablixHeading(int id, DataRegion dataRegionDef)
     : base(id, dataRegionDef)
 {
     this.m_aggregates          = new DataAggregateInfoList();
     this.m_postSortAggregates  = new DataAggregateInfoList();
     this.m_recursiveAggregates = new DataAggregateInfoList();
 }
示例#4
0
 public PivotHeading(int id, DataRegion matrixDef)
     : base(id, matrixDef)
 {
     this.m_aggregates          = new DataAggregateInfoList();
     this.m_postSortAggregates  = new DataAggregateInfoList();
     this.m_recursiveAggregates = new DataAggregateInfoList();
 }
示例#5
0
 void IAggregateHolder.ClearIfEmpty()
 {
     Global.Tracer.Assert(null != this.m_pageAggregates);
     if (this.m_pageAggregates.Count == 0)
     {
         this.m_pageAggregates = null;
     }
 }
示例#6
0
 public void AddAggregate(DataAggregateInfo aggregate)
 {
     if (this.m_aggregates == null)
     {
         this.m_aggregates = new DataAggregateInfoList();
     }
     this.m_aggregates.Add(aggregate);
 }
示例#7
0
 public DataSet(int id)
     : base(id)
 {
     this.m_fields             = new DataFieldList();
     this.m_dataRegions        = new DataRegionList();
     this.m_aggregates         = new DataAggregateInfoList();
     this.m_postSortAggregates = new DataAggregateInfoList();
 }
示例#8
0
 public static void CopyAggregates(DataAggregateInfoList srcAggregates, DataAggregateInfoList targetAggregates)
 {
     for (int i = 0; i < srcAggregates.Count; i++)
     {
         DataAggregateInfo dataAggregateInfo = srcAggregates[i];
         targetAggregates.Add(dataAggregateInfo);
         dataAggregateInfo.IsCopied = true;
     }
 }
示例#9
0
 public Grouping(ConstructionPhase phase)
 {
     if (phase == ConstructionPhase.Publishing)
     {
         this.m_groupExpressions    = new ExpressionInfoList();
         this.m_aggregates          = new DataAggregateInfoList();
         this.m_postSortAggregates  = new DataAggregateInfoList();
         this.m_recursiveAggregates = new DataAggregateInfoList();
     }
 }
示例#10
0
 public Report(int id, int idForReportItems)
     : base(id, null)
 {
     this.m_intermediateFormatVersion = new IntermediateFormatVersion();
     this.m_reportVersion             = Guid.NewGuid();
     base.m_height           = "11in";
     base.m_width            = "8.5in";
     this.m_dataSources      = new DataSourceList();
     this.m_reportItems      = new ReportItemCollection(idForReportItems, true);
     this.m_pageAggregates   = new DataAggregateInfoList();
     this.m_exprCompiledCode = new byte[0];
 }
示例#11
0
 void IAggregateHolder.ClearIfEmpty()
 {
     Global.Tracer.Assert(null != this.m_aggregates);
     if (this.m_aggregates.Count == 0)
     {
         this.m_aggregates = null;
     }
     Global.Tracer.Assert(null != this.m_postSortAggregates);
     if (this.m_postSortAggregates.Count == 0)
     {
         this.m_postSortAggregates = null;
     }
     Global.Tracer.Assert(null != this.m_recursiveAggregates);
     if (this.m_recursiveAggregates.Count == 0)
     {
         this.m_recursiveAggregates = null;
     }
 }
示例#12
0
 void IAggregateHolder.ClearIfEmpty()
 {
     Global.Tracer.Assert(null != base.m_aggregates);
     if (base.m_aggregates.Count == 0)
     {
         base.m_aggregates = null;
     }
     Global.Tracer.Assert(null != base.m_postSortAggregates);
     if (base.m_postSortAggregates.Count == 0)
     {
         base.m_postSortAggregates = null;
     }
     Global.Tracer.Assert(null != this.m_cellAggregates);
     if (this.m_cellAggregates.Count == 0)
     {
         this.m_cellAggregates = null;
     }
     Global.Tracer.Assert(null != this.m_cellPostSortAggregates);
     if (this.m_cellPostSortAggregates.Count == 0)
     {
         this.m_cellPostSortAggregates = null;
     }
 }
 protected DataRegion(int id, ReportItem parent)
     : base(id, parent)
 {
     this.m_aggregates         = new DataAggregateInfoList();
     this.m_postSortAggregates = new DataAggregateInfoList();
 }