IActionInstance IRichTextInstanceCreator.CreateActionInstance()
 {
     Microsoft.ReportingServices.ReportIntermediateFormat.ActionItem actionItem = new Microsoft.ReportingServices.ReportIntermediateFormat.ActionItem();
     Microsoft.ReportingServices.ReportIntermediateFormat.Action     action     = new Microsoft.ReportingServices.ReportIntermediateFormat.Action();
     action.ActionItems.Add(actionItem);
     return(new Action(new ActionInfo(m_textRunDef.RenderingContext, m_textRunDef.ReportScope, action, ((InternalTextRun)m_textRunDef).TextRunDef, m_textRunDef, ObjectType.TextRun, ((InternalTextRun)m_textRunDef).TextRunDef.Name, m_textRunDef), actionItem, 0).Instance);
 }
        internal Action Add(ActionInfo owner, Microsoft.ReportingServices.ReportIntermediateFormat.ActionItem actionItem)
        {
            Action action = new Action(owner, actionItem, m_list.Count);

            m_list.Add(action);
            return(action);
        }
 public Action CreateDrillthroughAction()
 {
     AssertValidCreateActionContext();
     InitActions();
     if (Actions.Count > 0)
     {
         throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation);
     }
     Microsoft.ReportingServices.ReportIntermediateFormat.ActionItem actionItem = new Microsoft.ReportingServices.ReportIntermediateFormat.ActionItem();
     actionItem.DrillthroughReportName = Microsoft.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateEmptyExpression();
     m_actionDef.ActionItems.Add(actionItem);
     return(Actions.Add(this, actionItem));
 }
 internal Action(ActionInfo owner, Microsoft.ReportingServices.ReportIntermediateFormat.ActionItem actionItemDef, int index)
 {
     m_owner         = owner;
     m_actionItemDef = actionItemDef;
     m_index         = index;
 }
 internal Action(ActionItem actionItem, bool computed)
 {
     m_actionItemList = new List <ActionItem>();
     m_actionItemList.Add(actionItem);
 }