internal void Update(Microsoft.ReportingServices.ReportRendering.ActionInfo newCollection) { int count = m_list.Count; for (int i = 0; i < count; i++) { m_list[i].Update((newCollection != null && newCollection.Actions != null) ? newCollection.Actions[i] : null); } }
internal ActionInfo(RenderingContext renderingContext, Microsoft.ReportingServices.ReportRendering.ActionInfo renderAction) { m_renderingContext = renderingContext; m_renderAction = renderAction; m_isOldSnapshot = true; }
internal void Update(Microsoft.ReportingServices.ReportRendering.ActionInfo newActionInfo) { m_collection.Update(newActionInfo); }
internal new void Update(Microsoft.ReportingServices.ReportRendering.ActionInfo newActionInfo) { Global.Tracer.Assert(condition: false, "Update(...) should not be called on ActionInfoWithDynamicImageMap"); }
internal ActionInfoWithDynamicImageMap(RenderingContext renderingContext, Microsoft.ReportingServices.ReportRendering.ActionInfo renderAction, ImageMapAreasCollection renderImageMap) : base(renderingContext, renderAction) { base.IsDynamic = true; m_imageMapAreas = new ImageMapAreaInstanceCollection(renderImageMap); }
public override Stream GetImage(ImageType type, out ActionInfoWithDynamicImageMapCollection actionImageMaps) { actionImageMaps = null; Stream stream = null; bool hasImageMap = false; if (m_reportElementDef.IsOldSnapshot) { Microsoft.ReportingServices.ReportRendering.Chart chart = (Microsoft.ReportingServices.ReportRendering.Chart)m_reportElementDef.RenderReportItem; stream = chart.GetImage((Microsoft.ReportingServices.ReportRendering.Chart.ImageType)type, out hasImageMap); if (hasImageMap) { int dataPointSeriesCount = chart.DataPointSeriesCount; int dataPointCategoryCount = chart.DataPointCategoryCount; actionImageMaps = new ActionInfoWithDynamicImageMapCollection(); for (int i = 0; i < dataPointSeriesCount; i++) { for (int j = 0; j < dataPointCategoryCount; j++) { Microsoft.ReportingServices.ReportRendering.ChartDataPoint chartDataPoint = chart.DataPointCollection[i, j]; Microsoft.ReportingServices.ReportRendering.ActionInfo actionInfo = chartDataPoint.ActionInfo; if (actionInfo != null) { actionImageMaps.InternalList.Add(new ActionInfoWithDynamicImageMap(m_reportElementDef.RenderingContext, actionInfo, chartDataPoint.MapAreas)); } } } } } else { stream = base.GetImage(type, out actionImageMaps); } return(stream); }
internal ActionStyle(ActionInfo actionInfo, RenderingContext context) : base(context) { Global.Tracer.Assert(!base.IsCustomControl); m_actionInfo = actionInfo; }