Ejemplo n.º 1
0
 internal void SetExprHost(ChartDataPointExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
     m_exprHost = exprHost;
     m_exprHost.SetReportObjectModel(reportObjectModel);
     if (m_action != null)
     {
         if (m_exprHost.ActionInfoHost != null)
         {
             m_action.SetExprHost(m_exprHost.ActionInfoHost, reportObjectModel);
         }
         else if (m_exprHost.ActionHost != null)
         {
             m_action.SetExprHost(m_exprHost.ActionHost, reportObjectModel);
         }
     }
     if (m_styleClass != null && m_exprHost.StyleHost != null)
     {
         m_exprHost.StyleHost.SetReportObjectModel(reportObjectModel);
         m_styleClass.SetStyleExprHost(m_exprHost.StyleHost);
     }
     if (m_markerStyleClass != null && m_exprHost.MarkerStyleHost != null)
     {
         m_exprHost.MarkerStyleHost.SetReportObjectModel(reportObjectModel);
         m_markerStyleClass.SetStyleExprHost(m_exprHost.MarkerStyleHost);
     }
     if (m_dataLabel != null && m_dataLabel.StyleClass != null && m_exprHost.DataLabelStyleHost != null)
     {
         m_dataLabel.SetExprHost(m_exprHost.DataLabelStyleHost, reportObjectModel);
     }
     if (m_customProperties != null && m_exprHost.CustomPropertyHostsRemotable != null)
     {
         m_customProperties.SetExprHost(m_exprHost.CustomPropertyHostsRemotable, reportObjectModel);
     }
 }
Ejemplo n.º 2
0
 internal void SetExprHost(AxisExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
     m_exprHost = exprHost;
     m_exprHost.SetReportObjectModel(reportObjectModel);
     if (m_title != null && m_exprHost.TitleHost != null)
     {
         m_title.SetExprHost(m_exprHost.TitleHost, reportObjectModel);
     }
     if (m_styleClass != null)
     {
         m_styleClass.SetStyleExprHost(m_exprHost);
     }
     if (m_majorGridLines != null && m_majorGridLines.StyleClass != null && m_exprHost.MajorGridLinesHost != null)
     {
         m_majorGridLines.SetExprHost(m_exprHost.MajorGridLinesHost, reportObjectModel);
     }
     if (m_minorGridLines != null && m_minorGridLines.StyleClass != null && m_exprHost.MinorGridLinesHost != null)
     {
         m_minorGridLines.SetExprHost(m_exprHost.MinorGridLinesHost, reportObjectModel);
     }
     if (m_exprHost.CustomPropertyHostsRemotable != null)
     {
         Global.Tracer.Assert(m_customProperties != null);
         m_customProperties.SetExprHost(m_exprHost.CustomPropertyHostsRemotable, reportObjectModel);
     }
 }
Ejemplo n.º 3
0
 internal void SetExprHost(StyleExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
     exprHost.SetReportObjectModel(reportObjectModel);
     if (m_styleClass != null)
     {
         m_styleClass.SetStyleExprHost(exprHost);
     }
 }
Ejemplo n.º 4
0
 protected void ReportItemSetExprHost(ReportItemExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null);
     m_exprHost = exprHost;
     m_exprHost.SetReportObjectModel(reportObjectModel);
     if (m_styleClass != null)
     {
         m_styleClass.SetStyleExprHost(m_exprHost);
     }
     if (m_exprHost.CustomPropertyHostsRemotable != null)
     {
         Global.Tracer.Assert(m_customProperties != null);
         m_customProperties.SetExprHost(m_exprHost.CustomPropertyHostsRemotable, reportObjectModel);
     }
 }
Ejemplo n.º 5
0
 internal void SetExprHost(ActionInfoExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
     m_exprHost = exprHost;
     m_exprHost.SetReportObjectModel(reportObjectModel);
     if (exprHost.ActionItemHostsRemotable != null)
     {
         Global.Tracer.Assert(m_actionItemList != null);
         for (int num = m_actionItemList.Count - 1; num >= 0; num--)
         {
             m_actionItemList[num].SetExprHost(exprHost.ActionItemHostsRemotable, reportObjectModel);
         }
     }
     if (m_styleClass != null)
     {
         m_styleClass.SetStyleExprHost(m_exprHost);
     }
 }