Example #1
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Map:
                    m_map = reader.ReadReference <Map>(this);
                    break;

                case MemberName.MapSizeRule:
                    m_mapSizeRule = (MapSizeRule)reader.ReadRIFObject();
                    break;

                case MemberName.MapColorRule:
                    m_mapColorRule = (MapColorRule)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(RadialScale.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugePointers:
                    this.m_gaugePointers = reader.ReadGenericListOfRIFObjects <RadialPointer>();
                    break;

                case MemberName.Radius:
                    this.m_radius = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.StartAngle:
                    this.m_startAngle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SweepAngle:
                    this.m_sweepAngle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(RadialGauge.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeScales:
                    this.m_gaugeScales = reader.ReadGenericListOfRIFObjects <RadialScale>();
                    break;

                case MemberName.PivotX:
                    this.m_pivotX = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.PivotY:
                    this.m_pivotY = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #4
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(MapBucket.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Map:
                    this.m_map = reader.ReadReference <Map>(this);
                    break;

                case MemberName.StartValue:
                    this.m_startValue = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.EndValue:
                    this.m_endValue = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #5
0
            public void Deserialize(IntermediateFormatReader reader)
            {
                reader.RegisterDeclaration(m_declaration);
                while (reader.NextMember())
                {
                    switch (reader.CurrentMember.MemberName)
                    {
                    case MemberName.SortInfo:
                        SortInfo = (IReference <RuntimeSortFilterEventInfo>)reader.ReadRIFObject();
                        break;

                    case MemberName.SortIndex:
                        SortIndex = reader.ReadInt32();
                        break;

                    case MemberName.SortTree:
                        SortTree = (BTree)reader.ReadRIFObject();
                        break;

                    default:
                        Global.Tracer.Assert(condition: false);
                        break;
                    }
                }
            }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ScaleFactor:
                    m_scaleFactor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CenterPointOffsetX:
                    m_centerPointOffsetX = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CenterPointOffsetY:
                    m_centerPointOffsetY = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ShowLabel:
                    m_showLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LabelPlacement:
                    m_labelPlacement = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #7
0
        void IPersistable.Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_declaration);
            _ = reader.PersistenceHelper;
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.HierarchyRoot:
                    m_hierarchyRoot = (IReference <IHierarchyObj>)reader.ReadRIFObject();
                    break;

                case MemberName.DataRowHolder:
                    m_dataRowHolder = (RuntimeSortDataHolder)reader.ReadRIFObject();
                    break;

                case MemberName.Expression:
                    m_sortExpression = (RuntimeExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SortTree:
                    m_sortTree = (BTree)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #8
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapPolygonLayer.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapPolygonTemplate:
                    this.m_mapPolygonTemplate = (MapPolygonTemplate)reader.ReadRIFObject();
                    break;

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

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

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

                case MemberName.MapPolygons:
                    this.m_mapPolygons = reader.ReadGenericListOfRIFObjects <MapPolygon>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(PageBreak.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.PageBreakLocation:
                    this.m_pageBreakLocation = (PageBreakLocation)reader.ReadEnum();
                    break;

                case MemberName.Disabled:
                    this.m_disabled = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ResetPageNumber:
                    this.m_resetPageNumber = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #10
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Map:
                    m_map = reader.ReadReference <Map>(this);
                    break;

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

                case MemberName.Height:
                    m_height = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Unit:
                    m_unit = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #11
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(DataValue.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    this.m_name = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Value:
                    this.m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #12
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapMember:
                    MapMember = (MapMember)reader.ReadRIFObject();
                    break;

                case MemberName.MapRowMember:
                    MapRowMember = (MapMember)reader.ReadRIFObject();
                    break;

                case MemberName.MapRow:
                    MapRow = (MapRow)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #13
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Map:
                    m_map = reader.ReadReference <Map>(this);
                    break;

                case MemberName.MapMarkerStyle:
                    m_mapMarkerStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapMarkerlImage:
                    m_mapMarkerImage = (MapMarkerImage)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public virtual void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugePanel:
                    m_gaugePanel = reader.ReadReference <GaugePanel>(this);
                    break;

                case MemberName.Source:
                    m_source = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Value:
                    m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MIMEType:
                    m_MIMEType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TransparentColor:
                    m_transparentColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;
                }
            }
        }
Example #15
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapColorRangeRule.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.StartColor:
                    this.m_startColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MiddleColor:
                    this.m_middleColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.EndColor:
                    this.m_endColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartMarker.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Type:
                    this.m_markerType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Size:
                    this.m_markerSize = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartDataPoint:
                    this.m_chartDataPoint = reader.ReadReference <ChartDataPoint>(this);
                    break;

                case MemberName.ChartSeries:
                    this.m_chartSeries = reader.ReadReference <ChartSeries>(this);
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartGridLines.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Enabled:
                    this.m_enabled = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.IntervalType:
                    this.m_intervalType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.IntervalOffsetType:
                    this.m_intervalOffsetType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
            public void Deserialize(IntermediateFormatReader reader)
            {
                reader.RegisterDeclaration(JoinCondition.m_Declaration);
                while (reader.NextMember())
                {
                    switch (reader.CurrentMember.MemberName)
                    {
                    case MemberName.ForeignKeyExpression:
                        this.m_foreignKeyExpression = (ExpressionInfo)reader.ReadRIFObject();
                        break;

                    case MemberName.PrimaryKeyExpression:
                        this.m_primaryKeyExpression = (ExpressionInfo)reader.ReadRIFObject();
                        break;

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

                    case MemberName.SortDirection:
                        this.m_sortDirection = (SortDirection)reader.ReadEnum();
                        break;

                    default:
                        Global.Tracer.Assert(false);
                        break;
                    }
                }
            }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapLineTemplate:
                    m_mapLineTemplate = (MapLineTemplate)reader.ReadRIFObject();
                    break;

                case MemberName.MapLineRules:
                    m_mapLineRules = (MapLineRules)reader.ReadRIFObject();
                    break;

                case MemberName.MapLines:
                    m_mapLines = reader.ReadGenericListOfRIFObjects <MapLine>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #20
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(TextRun.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Value:
                    this.m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

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

                case MemberName.Label:
                    this.m_label = reader.ReadString();
                    break;

                case MemberName.MarkupType:
                    this.m_markupType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.DataType:
                    this.m_constantDataType = (DataType)reader.ReadEnum();
                    break;

                case MemberName.IndexInCollection:
                    this.m_indexInCollection = reader.ReadInt32();
                    break;

                case MemberName.Paragraph:
                    this.m_paragraph = reader.ReadReference <Paragraph>(this);
                    break;

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

                case MemberName.ValueReferenced:
                    this.m_valueReferenced = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(OpenXmlTableRowPropertiesModel.GetDeclaration());
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.RowHeight:
                    this._height = reader.ReadSingle();
                    break;

                case MemberName.LeftIndent:
                    this._rowIndent = reader.ReadSingle();
                    break;

                case MemberName.ExactRowHeight:
                    this._exactRowHeight = reader.ReadBoolean();
                    break;

                case MemberName.IgnoreRowHeight:
                    this._ignoreRowHeight = reader.ReadBoolean();
                    break;

                case MemberName.TopPadding:
                    this._maxPaddingTop = reader.ReadSingle();
                    break;

                case MemberName.BottomPadding:
                    this._maxPaddingBottom = reader.ReadSingle();
                    break;

                case MemberName.TopBorder:
                    this._borderTop = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.BottomBorder:
                    this._borderBottom = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.LeftBorder:
                    this._borderLeft = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.RightBorder:
                    this._borderRight = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.Color:
                    this._bgColor = reader.ReadString();
                    break;

                default:
                    WordOpenXmlUtils.FailSerializable();
                    break;
                }
            }
        }
Example #22
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.AggregatesSpanGroupFilter:
                    m_aggregatesSpanGroupFilter = reader.ReadBoolean();
                    break;

                case MemberName.AggregatesOfAggregates:
                    m_aggregatesOfAggregates = (BucketedDataAggregateInfos)reader.ReadRIFObject();
                    break;

                case MemberName.PostSortAggregatesOfAggregates:
                    m_postSortAggregatesOfAggregates = (BucketedDataAggregateInfos)reader.ReadRIFObject();
                    break;

                case MemberName.RunningValuesOfAggregates:
                    m_runningValuesOfAggregates = reader.ReadGenericListOfRIFObjects <RunningValueInfo>();
                    break;

                case MemberName.ScopeID:
                    m_scopeID = reader.ReadInt32();
                    break;

                case MemberName.HasAggregatesToUpdateAtRowScope:
                    m_hasAggregatesToUpdateAtRowScope = reader.ReadBoolean();
                    break;

                case MemberName.IsDecomposable:
                    m_isDecomposable = reader.ReadBoolean();
                    break;

                case MemberName.DataSet:
                    m_dataSet = reader.ReadReference <DataSet>(this);
                    break;

                case MemberName.JoinInfo:
                    m_joinInfo = (JoinInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DataPipelineID:
                    m_dataPipelineID = reader.ReadInt32();
                    break;

                case MemberName.GroupingFieldIndicesForServerAggregates:
                    m_groupingFieldIndicesForServerAggregates = reader.ReadListOfPrimitives <int>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #23
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ChartThreeDProperties.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Enabled:
                    this.m_enabled = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ProjectionMode:
                    this.m_projectionMode = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Rotation:
                    this.m_rotation = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Inclination:
                    this.m_inclination = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Perspective:
                    this.m_perspective = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DepthRatio:
                    this.m_depthRatio = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Shading:
                    this.m_shading = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.GapDepth:
                    this.m_gapDepth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.WallThickness:
                    this.m_wallThickness = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Clustered:
                    this.m_clustered = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Chart:
                    this.m_chart = reader.ReadReference <Chart>(this);
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #24
0
        public IPersistable Retrieve(long offset, out long persistedSize)
        {
            SetupStorage();
            Seek(offset, SeekOrigin.Begin);
            IPersistable persistable = m_reader.ReadRIFObject();

            persistedSize = CalculatePersistedSize(persistable, offset);
            return(persistable);
        }
Example #25
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(LookupInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ResultExpr:
                    this.m_resultExpr = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DataSetName:
                    this.m_dataSetName = reader.ReadString();
                    break;

                case MemberName.SourceExpr:
                    this.m_sourceExpr = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.IsMultiValue:
                    if (reader.ReadBoolean())
                    {
                        this.m_lookupType = LookupType.LookupSet;
                    }
                    else
                    {
                        this.m_lookupType = LookupType.Lookup;
                    }
                    break;

                case MemberName.DestinationIndexInCollection:
                    this.m_destinationIndexInCollection = reader.ReadInt32();
                    break;

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

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

                case MemberName.DataSetIndexInCollection:
                    this.m_dataSetIndexInCollection = reader.ReadInt32();
                    break;

                case MemberName.LookupType:
                    this.m_lookupType = (LookupType)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #26
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Source:
                    m_source = (Microsoft.ReportingServices.OnDemandReportRendering.Image.SourceType)reader.ReadEnum();
                    break;

                case MemberName.Value:
                    m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MIMEType:
                    m_MIMEType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Sizing:
                    m_sizing = (Microsoft.ReportingServices.OnDemandReportRendering.Image.Sizings)reader.ReadEnum();
                    break;

                case MemberName.Action:
                    m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.Tag:
                {
                    ExpressionInfo expressionInfo = (ExpressionInfo)reader.ReadRIFObject();
                    if (expressionInfo != null)
                    {
                        m_tags = new List <ExpressionInfo>(1)
                        {
                            expressionInfo
                        };
                    }
                    break;
                }

                case MemberName.Tags:
                    m_tags = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.EmbeddingMode:
                    m_embeddingMode = (Microsoft.ReportingServices.OnDemandReportRendering.Image.EmbeddingModes)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public IPersistable Retrieve(long offset, out long persistedSize)
        {
            SetupStorage();
            m_stream.Seek(offset, SeekOrigin.Begin);
            m_atEnd = false;
            long         position = m_stream.Position;
            IPersistable result   = m_reader.ReadRIFObject();

            persistedSize = m_stream.Position - position;
            return(result);
        }
Example #28
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ScaleLabels.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Interval:
                    this.m_interval = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.AllowUpsideDown:
                    this.m_allowUpsideDown = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DistanceFromScale:
                    this.m_distanceFromScale = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.FontAngle:
                    this.m_fontAngle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Placement:
                    this.m_placement = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.RotateLabels:
                    this.m_rotateLabels = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ShowEndLabels:
                    this.m_showEndLabels = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.UseFontPercent:
                    this.m_useFontPercent = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapColorScale.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapColorScaleTitle:
                    this.m_mapColorScaleTitle = (MapColorScaleTitle)reader.ReadRIFObject();
                    break;

                case MemberName.TickMarkLength:
                    this.m_tickMarkLength = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ColorBarBorderColor:
                    this.m_colorBarBorderColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LabelInterval:
                    this.m_labelInterval = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LabelFormat:
                    this.m_labelFormat = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LabelPlacement:
                    this.m_labelPlacement = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LabelBehavior:
                    this.m_labelBehavior = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.HideEndLabels:
                    this.m_hideEndLabels = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.RangeGapColor:
                    this.m_rangeGapColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.NoDataText:
                    this.m_noDataText = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(RuntimeDetailObj.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.OuterScope:
                    this.m_outerScope = (IReference <IScope>)reader.ReadRIFObject();
                    break;

                case MemberName.DataRegionDef:
                {
                    int id = reader.ReadInt32();
                    this.m_dataRegionDef = (AspNetCore.ReportingServices.ReportIntermediateFormat.DataRegion)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.DataRows:
                    this.m_dataRows = reader.ReadRIFObject <ScalableList <DataFieldRow> >();
                    break;

                case MemberName.RunningValueValues:
                    this.m_rvValueList = reader.ReadListOfRIFObjectArrays <AspNetCore.ReportingServices.ReportIntermediateFormat.DataAggregateObjResult>();
                    break;

                case MemberName.RunningValuesInGroup:
                    this.m_runningValuesInGroup = reader.ReadListOfPrimitives <string>();
                    break;

                case MemberName.PreviousValuesInGroup:
                    this.m_previousValuesInGroup = reader.ReadListOfPrimitives <string>();
                    break;

                case MemberName.GroupCollection:
                    this.m_groupCollection = reader.ReadStringRIFObjectDictionary <IReference <RuntimeGroupRootObj> >();
                    break;

                case MemberName.OuterDataAction:
                    this.m_outerDataAction = (DataActions)reader.ReadEnum();
                    break;

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