internal Pivot(int id, ReportItem parent) : base(id, parent) { m_runningValues = new RunningValueInfoList(); m_cellAggregates = new DataAggregateInfoList(); m_cellPostSortAggregates = new DataAggregateInfoList(); }
internal TablixHeading(int id, DataRegion dataRegionDef) : base(id, dataRegionDef) { m_aggregates = new DataAggregateInfoList(); m_postSortAggregates = new DataAggregateInfoList(); m_recursiveAggregates = new DataAggregateInfoList(); }
internal void TransferHeadingAggregates() { if (SubHeading != null) { SubHeading.TransferHeadingAggregates(); } if (m_grouping != null) { for (int i = 0; i < m_aggregates.Count; i++) { m_grouping.Aggregates.Add(m_aggregates[i]); } } m_aggregates = null; if (m_grouping != null) { for (int j = 0; j < m_postSortAggregates.Count; j++) { m_grouping.PostSortAggregates.Add(m_postSortAggregates[j]); } } m_postSortAggregates = null; if (m_grouping != null) { for (int k = 0; k < m_recursiveAggregates.Count; k++) { m_grouping.RecursiveAggregates.Add(m_recursiveAggregates[k]); } } m_recursiveAggregates = null; }
internal PivotHeading(int id, DataRegion matrixDef) : base(id, matrixDef) { m_aggregates = new DataAggregateInfoList(); m_postSortAggregates = new DataAggregateInfoList(); m_recursiveAggregates = new DataAggregateInfoList(); }
void IAggregateHolder.ClearIfEmpty() { Global.Tracer.Assert(m_pageAggregates != null); if (m_pageAggregates.Count == 0) { m_pageAggregates = null; } }
internal void AddAggregate(DataAggregateInfo aggregate) { if (m_aggregates == null) { m_aggregates = new DataAggregateInfoList(); } m_aggregates.Add(aggregate); }
internal DataSet(int id) : base(id) { m_fields = new DataFieldList(); m_dataRegions = new DataRegionList(); m_aggregates = new DataAggregateInfoList(); m_postSortAggregates = new DataAggregateInfoList(); }
internal 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; } }
internal Grouping(ConstructionPhase phase) { if (phase == ConstructionPhase.Publishing) { m_groupExpressions = new ExpressionInfoList(); m_aggregates = new DataAggregateInfoList(); m_postSortAggregates = new DataAggregateInfoList(); m_recursiveAggregates = new DataAggregateInfoList(); } }
internal Report(int id, int idForReportItems) : base(id, null) { m_intermediateFormatVersion = new IntermediateFormatVersion(); m_reportVersion = Guid.NewGuid(); m_height = "11in"; m_width = "8.5in"; m_dataSources = new DataSourceList(); m_reportItems = new ReportItemCollection(idForReportItems, normal: true); m_pageAggregates = new DataAggregateInfoList(); m_exprCompiledCode = new byte[0]; }
void IAggregateHolder.ClearIfEmpty() { Global.Tracer.Assert(m_aggregates != null); if (m_aggregates.Count == 0) { m_aggregates = null; } Global.Tracer.Assert(m_postSortAggregates != null); if (m_postSortAggregates.Count == 0) { m_postSortAggregates = null; } Global.Tracer.Assert(m_recursiveAggregates != null); if (m_recursiveAggregates.Count == 0) { m_recursiveAggregates = null; } }
protected DataRegion(int id, ReportItem parent) : base(id, parent) { m_aggregates = new DataAggregateInfoList(); m_postSortAggregates = new DataAggregateInfoList(); }