public void Update(AspNetCore.ReportingServices.ReportRendering.ActionInfo newCollection)
        {
            int count = this.m_list.Count;

            for (int i = 0; i < count; i++)
            {
                this.m_list[i].Update((newCollection != null && newCollection.Actions != null) ? newCollection.Actions[i] : null);
            }
        }
示例#2
0
 public void Update(AspNetCore.ReportingServices.ReportRendering.ActionInfo newActionInfo)
 {
     this.m_collection.Update(newActionInfo);
 }
示例#3
0
 public ActionInfo(RenderingContext renderingContext, AspNetCore.ReportingServices.ReportRendering.ActionInfo renderAction)
 {
     this.m_renderingContext = renderingContext;
     this.m_renderAction     = renderAction;
     this.m_isOldSnapshot    = true;
 }
 public new void Update(AspNetCore.ReportingServices.ReportRendering.ActionInfo newActionInfo)
 {
     Global.Tracer.Assert(false, "Update(...) should not be called on ActionInfoWithDynamicImageMap");
 }
 public ActionInfoWithDynamicImageMap(RenderingContext renderingContext, AspNetCore.ReportingServices.ReportRendering.ActionInfo renderAction, ImageMapAreasCollection renderImageMap)
     : base(renderingContext, renderAction)
 {
     base.IsDynamic       = true;
     this.m_imageMapAreas = new ImageMapAreaInstanceCollection(renderImageMap);
 }
 public ActionStyle(ActionInfo actionInfo, RenderingContext context)
     : base(context)
 {
     Global.Tracer.Assert(!base.IsCustomControl);
     this.m_actionInfo = actionInfo;
 }
        public override Stream GetImage(ImageType type, out ActionInfoWithDynamicImageMapCollection actionImageMaps)
        {
            actionImageMaps = null;
            Stream stream = null;
            bool   flag   = false;

            if (base.m_reportElementDef.IsOldSnapshot)
            {
                AspNetCore.ReportingServices.ReportRendering.Chart chart = (AspNetCore.ReportingServices.ReportRendering.Chart)base.m_reportElementDef.RenderReportItem;
                stream = chart.GetImage((AspNetCore.ReportingServices.ReportRendering.Chart.ImageType)type, out flag);
                if (flag)
                {
                    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++)
                        {
                            AspNetCore.ReportingServices.ReportRendering.ChartDataPoint chartDataPoint = chart.DataPointCollection[i, j];
                            AspNetCore.ReportingServices.ReportRendering.ActionInfo     actionInfo     = chartDataPoint.ActionInfo;
                            if (actionInfo != null)
                            {
                                actionImageMaps.InternalList.Add(new ActionInfoWithDynamicImageMap(base.m_reportElementDef.RenderingContext, actionInfo, chartDataPoint.MapAreas));
                            }
                        }
                    }
                }
            }
            else
            {
                stream = base.GetImage(type, out actionImageMaps);
            }
            return(stream);
        }