示例#1
0
 public void SetExprHost(ReportExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
     if (this.m_styleClass != null && this.ExprHostID >= 0)
     {
         StyleExprHost styleExprHost = null;
         if (exprHost.PageHostsRemotable != null)
         {
             styleExprHost = exprHost.PageHostsRemotable[this.ExprHostID];
         }
         else if (this.ExprHostID == 0)
         {
             styleExprHost = exprHost.PageHost;
             if (styleExprHost == null)
             {
                 return;
             }
         }
         else
         {
             Global.Tracer.Assert(false, "Missing ReportExprHost.PageHostRemotable for Page ExprHostID: {0}", this.ExprHostID);
         }
         styleExprHost.SetReportObjectModel(reportObjectModel);
         this.m_styleClass.SetStyleExprHost(styleExprHost);
     }
 }
示例#2
0
        internal void SetExprHost(ReportExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            if (m_styleClass == null || ExprHostID < 0)
            {
                return;
            }
            StyleExprHost styleExprHost = null;

            if (exprHost.PageHostsRemotable != null)
            {
                styleExprHost = exprHost.PageHostsRemotable[ExprHostID];
            }
            else if (ExprHostID == 0)
            {
                styleExprHost = exprHost.PageHost;
                if (styleExprHost == null)
                {
                    return;
                }
            }
            else
            {
                Global.Tracer.Assert(false, "Missing ReportExprHost.PageHostRemotable for Page ExprHostID: {0}", ExprHostID);
            }
            styleExprHost.SetReportObjectModel(reportObjectModel);
            m_styleClass.SetStyleExprHost(styleExprHost);
        }
示例#3
0
 public virtual void SetExprHost(StyleExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && null != reportObjectModel);
     exprHost.SetReportObjectModel(reportObjectModel);
     if (this.m_styleClass != null)
     {
         this.m_styleClass.SetStyleExprHost(exprHost);
     }
 }
 internal virtual void SetExprHost(StyleExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
     exprHost.SetReportObjectModel(reportObjectModel);
     if (m_styleClass != null)
     {
         m_styleClass.SetStyleExprHost(exprHost);
     }
 }
示例#5
0
 public override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     if (base.ExprHostID >= 0)
     {
         Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null, "(reportExprHost != null && reportObjectModel != null)");
         this.m_exprHost = reportExprHost.PageSectionHostsRemotable[base.ExprHostID];
         this.m_exprHost.SetReportObjectModel(reportObjectModel);
         if (base.m_styleClass != null)
         {
             base.m_styleClass.SetStyleExprHost(this.m_exprHost);
         }
     }
 }
 internal override void SetExprHost(StyleExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
     base.SetExprHost(exprHost, reportObjectModel);
     if (m_action != null && ((ChartTitleExprHost)exprHost).ActionInfoHost != null)
     {
         m_action.SetExprHost(((ChartTitleExprHost)exprHost).ActionInfoHost, reportObjectModel);
     }
     if (m_chartElementPosition != null && ((ChartTitleExprHost)exprHost).ChartElementPositionHost != null)
     {
         m_chartElementPosition.SetExprHost(((ChartTitleExprHost)exprHost).ChartElementPositionHost, reportObjectModel);
     }
 }
示例#7
0
 public void SetStyleExprHost(StyleExprHost exprHost)
 {
     Global.Tracer.Assert(null != exprHost);
     this.m_exprHost = exprHost;
 }
示例#8
0
 public override void SetExprHost(StyleExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
     base.SetExprHost(exprHost, reportObjectModel);
     this.m_exprHost = (ChartTitleBaseExprHost)exprHost;
 }
示例#9
0
 internal void SetStyleExprHost(StyleExprHost exprHost)
 {
     Global.Tracer.Assert(exprHost != null, "(null != exprHost)");
     m_exprHost = exprHost;
 }