예제 #1
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(Gauge.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.BackFrame:
                    this.m_backFrame = (BackFrame)reader.ReadRIFObject();
                    break;

                case MemberName.ClipContent:
                    this.m_clipContent = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TopImage:
                    this.m_topImage = (TopImage)reader.ReadRIFObject();
                    break;

                case MemberName.AspectRatio:
                    this.m_aspectRatio = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #2
0
        public override object PublishClone(AutomaticSubtotalContext context)
        {
            BackFrame backFrame = (BackFrame)base.PublishClone(context);

            if (this.m_frameStyle != null)
            {
                backFrame.m_frameStyle = (ExpressionInfo)this.m_frameStyle.PublishClone(context);
            }
            if (this.m_frameShape != null)
            {
                backFrame.m_frameShape = (ExpressionInfo)this.m_frameShape.PublishClone(context);
            }
            if (this.m_frameWidth != null)
            {
                backFrame.m_frameWidth = (ExpressionInfo)this.m_frameWidth.PublishClone(context);
            }
            if (this.m_glassEffect != null)
            {
                backFrame.m_glassEffect = (ExpressionInfo)this.m_glassEffect.PublishClone(context);
            }
            if (this.m_frameBackground != null)
            {
                backFrame.m_frameBackground = (FrameBackground)this.m_frameBackground.PublishClone(context);
            }
            if (this.m_frameImage != null)
            {
                backFrame.m_frameImage = (FrameImage)this.m_frameImage.PublishClone(context);
            }
            return(backFrame);
        }
예제 #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(GaugePanel.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeMember:
                    this.GaugeMember = (GaugeMember)reader.ReadRIFObject();
                    break;

                case MemberName.GaugeRowMember:
                    this.GaugeRowMember = (GaugeMember)reader.ReadRIFObject();
                    break;

                case MemberName.GaugeRow:
                    this.GaugeRow = (GaugeRow)reader.ReadRIFObject();
                    break;

                case MemberName.LinearGauges:
                    this.m_linearGauges = reader.ReadGenericListOfRIFObjects <LinearGauge>();
                    break;

                case MemberName.RadialGauges:
                    this.m_radialGauges = reader.ReadGenericListOfRIFObjects <RadialGauge>();
                    break;

                case MemberName.NumericIndicators:
                    this.m_numericIndicators = reader.ReadGenericListOfRIFObjects <NumericIndicator>();
                    break;

                case MemberName.StateIndicators:
                    this.m_stateIndicators = reader.ReadGenericListOfRIFObjects <StateIndicator>();
                    break;

                case MemberName.GaugeImages:
                    this.m_gaugeImages = reader.ReadGenericListOfRIFObjects <GaugeImage>();
                    break;

                case MemberName.GaugeLabels:
                    this.m_gaugeLabels = reader.ReadGenericListOfRIFObjects <GaugeLabel>();
                    break;

                case MemberName.AntiAliasing:
                    this.m_antiAliasing = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.AutoLayout:
                    this.m_autoLayout = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.BackFrame:
                    this.m_backFrame = (BackFrame)reader.ReadRIFObject();
                    break;

                case MemberName.ShadowIntensity:
                    this.m_shadowIntensity = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TextAntiAliasingQuality:
                    this.m_textAntiAliasingQuality = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TopImage:
                    this.m_topImage = (TopImage)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnMembers:
                    this.m_columnMembers = reader.ReadListOfRIFObjects <GaugeMemberList>();
                    break;

                case MemberName.RowMembers:
                    this.m_rowMembers = reader.ReadListOfRIFObjects <GaugeMemberList>();
                    break;

                case MemberName.Rows:
                    this.m_rows = reader.ReadListOfRIFObjects <GaugeRowList>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #4
0
 public BackFrame(AspNetCore.ReportingServices.ReportIntermediateFormat.BackFrame defObject, GaugePanel gaugePanel)
 {
     this.m_defObject  = defObject;
     this.m_gaugePanel = gaugePanel;
 }