예제 #1
0
 public void CopyHeadingAggregates(PivotHeading heading)
 {
     if (heading != null)
     {
         heading.CopySubHeadingAggregates();
         Pivot.CopyAggregates(heading.Aggregates, base.m_aggregates);
         Pivot.CopyAggregates(heading.PostSortAggregates, base.m_postSortAggregates);
         Pivot.CopyAggregates(heading.RecursiveAggregates, base.m_aggregates);
     }
 }
예제 #2
0
 public void CopySubHeadingAggregates()
 {
     if (this.SubHeading != null)
     {
         this.SubHeading.CopySubHeadingAggregates();
         Pivot.CopyAggregates(this.SubHeading.Aggregates, this.m_aggregates);
         Pivot.CopyAggregates(this.SubHeading.PostSortAggregates, this.m_postSortAggregates);
         Pivot.CopyAggregates(this.SubHeading.RecursiveAggregates, this.m_aggregates);
     }
 }
예제 #3
0
        public PivotHeading GetInnerStaticHeading()
        {
            PivotHeading pivotHeading = null;
            Pivot        pivot        = (Pivot)base.m_dataRegionDef;

            pivotHeading = ((!this.m_isColumn) ? pivot.PivotStaticRows : pivot.PivotStaticColumns);
            if (pivotHeading != null && pivotHeading.Level > this.m_level)
            {
                return(pivotHeading);
            }
            return(null);
        }