Exemplo n.º 1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            LinearPointer linearPointer = (LinearPointer)base.PublishClone(context);

            if (m_type != null)
            {
                linearPointer.m_type = (ExpressionInfo)m_type.PublishClone(context);
            }
            if (m_thermometer != null)
            {
                linearPointer.m_thermometer = (Thermometer)m_thermometer.PublishClone(context);
            }
            return(linearPointer);
        }
Exemplo n.º 2
0
        internal void SetExprHost(LinearScaleExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
            SetExprHost((GaugeScaleExprHost)exprHost, reportObjectModel);
            m_exprHost = exprHost;
            IList <LinearPointerExprHost> linearPointersHostsRemotable = ((LinearScaleExprHost)m_exprHost).LinearPointersHostsRemotable;

            if (m_gaugePointers == null || linearPointersHostsRemotable == null)
            {
                return;
            }
            for (int i = 0; i < m_gaugePointers.Count; i++)
            {
                LinearPointer linearPointer = m_gaugePointers[i];
                if (linearPointer != null && linearPointer.ExpressionHostID > -1)
                {
                    linearPointer.SetExprHost(linearPointersHostsRemotable[linearPointer.ExpressionHostID], reportObjectModel);
                }
            }
        }
Exemplo n.º 3
0
 internal LinearPointer(Microsoft.ReportingServices.ReportIntermediateFormat.LinearPointer defObject, GaugePanel gaugePanel)
     : base(defObject, gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }
 public LinearPointer this[string name]
 {
     get
     {
         for (int i = 0; i < Count; i++)
         {
             Microsoft.ReportingServices.ReportIntermediateFormat.LinearPointer linearPointer = m_linearScale.LinearScaleDef.GaugePointers[i];
             if (string.CompareOrdinal(name, linearPointer.Name) == 0)
             {
                 return(base[i]);
             }
         }
         throw new RenderingObjectModelException(ProcessingErrorCode.rsNotInCollection, name);
     }
 }