Esempio n. 1
0
        public CRTAggregate(RecordStream rs, ChartRecordAggregate container)
            : base(RuleName_CRT, container)
        {
            
            chartForamt = (ChartFormatRecord)rs.GetNext();
            rs.GetNext();

            chartTypeRecord = rs.GetNext();
            if (rs.PeekNextChartSid() == BopPopCustomRecord.sid)
                bopPopCustom = (BopPopCustomRecord)rs.GetNext();
            crtLink = (CrtLinkRecord)rs.GetNext();
            if (rs.PeekNextChartSid() == SeriesListRecord.sid)
                seriesList = (SeriesListRecord)rs.GetNext();
            if (rs.PeekNextChartSid() == Chart3dRecord.sid)
                chart3d = (Chart3dRecord)rs.GetNext();
            if (rs.PeekNextChartSid() == LegendRecord.sid)
                ld = new LDAggregate(rs, this);
            if (rs.PeekNextChartSid() == DropBarRecord.sid)
            {
                dropBar1 = new DropBarAggregate(rs, this);
                dropBar2 = new DropBarAggregate(rs, this);
            }

            while (rs.PeekNextChartSid() == CrtLineRecord.sid)
            {
                dicLines.Add((CrtLineRecord)rs.GetNext(), (LineFormatRecord)rs.GetNext());
            }
            if (rs.PeekNextChartSid() == DataLabExtRecord.sid || rs.PeekNextChartSid() == DefaultTextRecord.sid)
            {
                dft1 = new DFTTextAggregate(rs, this);
                if (rs.PeekNextChartSid() == DataLabExtRecord.sid || rs.PeekNextChartSid() == DefaultTextRecord.sid)
                {
                    dft2 = new DFTTextAggregate(rs, this);
                }
            }
            if (rs.PeekNextChartSid() == DataLabExtContentsRecord.sid)
                dataLabExtContents = (DataLabExtContentsRecord)rs.GetNext();

            if (rs.PeekNextChartSid() == DataFormatRecord.sid)
                ss = new SSAggregate(rs, this);
            while (rs.PeekNextChartSid() == ShapePropsStreamRecord.sid)
                shapeList.Add(new ShapePropsAggregate(rs, this));

            rs.GetNext();
        }
Esempio n. 2
0
        public override object Clone()
        {
            Chart3dRecord record = new Chart3dRecord();

            record.Depth         = this.Depth;
            record.Dist          = this.Dist;
            record.Elev          = this.Elev;
            record.Height        = this.Height;
            record.Gap           = this.Gap;
            record.Is3DScaling   = this.Is3DScaling;
            record.IsCluster     = this.IsCluster;
            record.IsNotPieChart = this.IsNotPieChart;
            record.IsPerspective = this.IsPerspective;
            record.IsWalls2D     = this.IsWalls2D;
            record.Rotation      = this.Rotation;

            return(record);
        }
Esempio n. 3
0
        public override object Clone()
        {
            Chart3dRecord record = new Chart3dRecord();
            record.Depth = this.Depth;
            record.Dist = this.Dist;
            record.Elev = this.Elev;
            record.Height = this.Height;
            record.Gap = this.Gap;
            record.Is3DScaling = this.Is3DScaling;
            record.IsCluster = this.IsCluster;
            record.IsNotPieChart = this.IsNotPieChart;
            record.IsPerspective = this.IsPerspective;
            record.IsWalls2D = this.IsWalls2D;
            record.Rotation = this.Rotation;

            return record;
        }