Esempio n. 1
0
		public Action(ActionInfo owner, AspNetCore.ReportingServices.ReportRendering.Action renderAction)
		{
			this.m_owner = owner;
			this.m_renderAction = renderAction;
		}
Esempio n. 2
0
		public Action(ActionInfo owner, AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem actionItemDef, int index)
		{
			this.m_owner = owner;
			this.m_actionItemDef = actionItemDef;
			this.m_index = index;
		}
Esempio n. 3
0
        public static ActionInfoWithDynamicImageMap CreateActionInfoDynamic(ReportItem reportItem, ActionInfo actionInfo, string toolTip, out string href, bool applyExpression)
        {
            Action actionFromActionInfo = MappingHelper.GetActionFromActionInfo(actionInfo);

            if (actionFromActionInfo == null)
            {
                href = null;
            }
            else
            {
                bool flag = default(bool);
                href = MappingHelper.EvaluateHref(actionFromActionInfo, out flag);
                if (flag && !applyExpression)
                {
                    href = null;
                }
            }
            bool flag2 = actionFromActionInfo == null || href == null;
            bool flag3 = string.IsNullOrEmpty(toolTip);

            if (flag2 && flag3)
            {
                return(null);
            }
            ActionInfoWithDynamicImageMap actionInfoWithDynamicImageMap;

            if (!flag2)
            {
                actionInfoWithDynamicImageMap = new ActionInfoWithDynamicImageMap(reportItem.RenderingContext, reportItem, actionInfo.ReportScope, actionInfo.InstancePath, actionInfo.ROMActionOwner, true);
                if (actionFromActionInfo.BookmarkLink != null)
                {
                    Action action = actionInfoWithDynamicImageMap.CreateBookmarkLinkAction();
                    action.Instance.BookmarkLink = href;
                }
                else if (actionFromActionInfo.Hyperlink != null)
                {
                    Action action2 = actionInfoWithDynamicImageMap.CreateHyperlinkAction();
                    action2.Instance.HyperlinkText = href;
                }
                else if (actionFromActionInfo.Drillthrough != null)
                {
                    Action action3 = actionInfoWithDynamicImageMap.CreateDrillthroughAction();
                    action3.Drillthrough.Instance.ReportName = href;
                    MappingHelper.EvaluateActionParameters(actionFromActionInfo.Drillthrough, action3.Drillthrough);
                    string drillthroughID = action3.Drillthrough.Instance.DrillthroughID;
                }
            }
            else
            {
                actionInfoWithDynamicImageMap = new ActionInfoWithDynamicImageMap(reportItem.RenderingContext, reportItem, reportItem.ReportScope, reportItem.ReportItemDef, null, true);
            }
            return(actionInfoWithDynamicImageMap);
        }
Esempio n. 4
0
 public static ActionInfoWithDynamicImageMap CreateActionInfoDynamic(ReportItem reportItem, ActionInfo actionInfo, string toolTip, out string href)
 {
     return(MappingHelper.CreateActionInfoDynamic(reportItem, actionInfo, toolTip, out href, true));
 }
 public void CompleteActionInfoInstancesDeserialization()
 {
     this.m_currentActionInfo  = null;
     this.m_currentActionIndex = 0;
 }
 public void StartActionInfoInstancesDeserialization(ActionInfo actionInfo)
 {
     this.m_currentActionInfo  = actionInfo;
     this.m_currentActionIndex = 0;
 }