예제 #1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            GaugeTickMarks gaugeTickMarks = (GaugeTickMarks)base.PublishClone(context);

            if (m_interval != null)
            {
                gaugeTickMarks.m_interval = (ExpressionInfo)m_interval.PublishClone(context);
            }
            if (m_intervalOffset != null)
            {
                gaugeTickMarks.m_intervalOffset = (ExpressionInfo)m_intervalOffset.PublishClone(context);
            }
            return(gaugeTickMarks);
        }
예제 #2
0
 internal GaugeTickMarks(Microsoft.ReportingServices.ReportIntermediateFormat.GaugeTickMarks defObject, GaugePanel gaugePanel)
     : base(defObject, gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }
예제 #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Action:
                    m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case MemberName.ScaleRanges:
                    m_scaleRanges = reader.ReadGenericListOfRIFObjects <ScaleRange>();
                    break;

                case MemberName.CustomLabels:
                    m_customLabels = reader.ReadGenericListOfRIFObjects <CustomLabel>();
                    break;

                case MemberName.Interval:
                    m_interval = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.IntervalOffset:
                    m_intervalOffset = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Logarithmic:
                    m_logarithmic = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LogarithmicBase:
                    m_logarithmicBase = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MaximumValue:
                    m_maximumValue = (GaugeInputValue)reader.ReadRIFObject();
                    break;

                case MemberName.MinimumValue:
                    m_minimumValue = (GaugeInputValue)reader.ReadRIFObject();
                    break;

                case MemberName.Multiplier:
                    m_multiplier = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Reversed:
                    m_reversed = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.GaugeMajorTickMarks:
                    m_gaugeMajorTickMarks = (GaugeTickMarks)reader.ReadRIFObject();
                    break;

                case MemberName.GaugeMinorTickMarks:
                    m_gaugeMinorTickMarks = (GaugeTickMarks)reader.ReadRIFObject();
                    break;

                case MemberName.MaximumPin:
                    m_maximumPin = (ScalePin)reader.ReadRIFObject();
                    break;

                case MemberName.MinimumPin:
                    m_minimumPin = (ScalePin)reader.ReadRIFObject();
                    break;

                case MemberName.ScaleLabels:
                    m_scaleLabels = (ScaleLabels)reader.ReadRIFObject();
                    break;

                case MemberName.TickMarksOnTop:
                    m_tickMarksOnTop = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ToolTip:
                    m_toolTip = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Hidden:
                    m_hidden = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Width:
                    m_width = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ExprHostID:
                    m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.ID:
                    m_id = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }