Example #1
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.HueColor:
                    m_hueColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.OffsetX:
                    m_offsetX = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.OffsetY:
                    m_offsetY = (ExpressionInfo)reader.ReadRIFObject();
                    break;
                }
            }
        }
Example #2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Width:
                    m_width = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #3
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Parameters:
                {
                    ParameterImplWrapper[] array = reader.ReadArrayOfRIFObjects <ParameterImplWrapper>();
                    if (array == null)
                    {
                        break;
                    }
                    m_opdParameters.Collection = new ParameterImpl[array.Length];
                    for (int i = 0; i < array.Length; i++)
                    {
                        if (array[i] != null)
                        {
                            m_opdParameters.Collection[i] = array[i].WrappedParameterImpl;
                        }
                    }
                    break;
                }

                case MemberName.Names:
                    m_opdParameters.NameMap = reader.ReadStringInt32Hashtable <Hashtable>();
                    break;

                case MemberName.Count:
                    m_opdParameters.Count = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(RuntimeGroupingObjNaturalGroup.m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.LastValue:
                    this.m_lastValue = reader.ReadVariant();
                    break;

                case MemberName.LastChild:
                    this.m_lastChild = (IReference <RuntimeHierarchyObj>)reader.ReadRIFObject();
                    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.DataElementName:
                    m_dataElementName = reader.ReadString();
                    break;

                case MemberName.DataElementOutput:
                    m_dataElementOutput = (DataElementOutputTypes)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #6
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.HasStaticMembers:
                    m_hasStaticMembers = reader.ReadBoolean();
                    break;

                case MemberName.StaticLeafCellIndexes:
                    m_staticLeafCellIndexes = reader.ReadListOfPrimitives <int>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #7
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(IntersectJoinInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.RowParentDataSet:
                    this.m_rowParentDataSet = reader.ReadReference <DataSet>(this);
                    break;

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

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #8
0
		public void Deserialize(IntermediateFormatReader reader)
		{
			reader.RegisterDeclaration(m_declaration);
			while (reader.NextMember())
			{
				switch (reader.CurrentMember.MemberName)
				{
				case MemberName.FirstCell:
					m_firstCellKey = reader.ReadInt32();
					break;
				case MemberName.LastCell:
					m_lastCellKey = reader.ReadInt32();
					break;
				case MemberName.Collection:
					m_collection = reader.ReadRIFObject<ScalableList<IStorable>>();
					break;
				default:
					Global.Tracer.Assert(condition: false);
					break;
				}
			}
		}
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(GaugeTickMarks.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;

                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.FirstRow:
                    m_firstRow = reader.ReadInt32();
                    break;

                case MemberName.Rows:
                    m_rows = reader.ReadRIFObject <ScalableList <int> >();
                    break;

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

                case MemberName.MapLineTemplate:
                    m_mapLineTemplate = (MapLineTemplate)reader.ReadRIFObject();
                    break;

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

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

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

                case MemberName.MapBindingFieldPairs:
                    m_mapBindingFieldPairs = reader.ReadGenericListOfRIFObjects <MapBindingFieldPair>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #14
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            reader.RegisterDeclaration(m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.InvalidImage:
                    m_invalidImage = reader.ReadBoolean();
                    break;

                case MemberName.ImageProps:
                {
                    int id = reader.ReadInt32();
                    m_imageProps = (GDIImageProps)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.StreamName:
                    m_streamName = reader.ReadString();
                    break;

                case MemberName.HorizontalPadding:
                    m_padHorizontal = reader.ReadDouble();
                    break;

                case MemberName.VerticalPadding:
                    m_padVertical = reader.ReadDouble();
                    break;

                default:
                    RSTrace.RenderingTracer.Assert(condition: false, string.Empty);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeScales:
                    m_gaugeScales = reader.ReadGenericListOfRIFObjects <LinearScale>();
                    break;

                case MemberName.Orientation:
                    m_orientation = (ExpressionInfo)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.Type:
                    m_type = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Thermometer:
                    m_thermometer = (Thermometer)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #17
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(TablixColumn.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Width:
                    this.m_width = reader.ReadString();
                    break;

                case MemberName.WidthValue:
                    this.m_widthValue = reader.ReadDouble();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(RuntimeGroupObj.m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.FirstChild:
                    this.m_firstChild = (RuntimeGroupLeafObjReference)reader.ReadRIFObject();
                    break;

                case MemberName.LastChild:
                    this.m_lastChild = (RuntimeGroupLeafObjReference)reader.ReadRIFObject();
                    break;

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

                case MemberName.MapDataRegion:
                    this.m_mapDataRegion = reader.ReadReference <MapDataRegion>(this);
                    break;

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

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

                case MemberName.Position:
                    this.m_position = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DockOutsideViewport:
                    this.m_dockOutsideViewport = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

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

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

                case MemberName.OnTop:
                    this.m_onTop = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Reflection:
                    this.m_reflection = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CapStyle:
                    this.m_capStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

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

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

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.HierarchyRoot:
                    this.m_hierarchyRoot = (IReference <IHierarchyObj>)reader.ReadRIFObject();
                    break;

                case MemberName.OdpContext:
                {
                    int id = reader.ReadInt32();
                    this.m_odpContext = (OnDemandProcessingContext)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.SortHierarchyStruct:
                    this.m_sortHierarchyStruct = (SortHierarchyStructure)reader.ReadRIFObject();
                    break;

                case MemberName.DataHolder:
                    this.m_dataHolder = (IReference <ISortDataHolder>)reader.ReadRIFObject();
                    break;

                case MemberName.DataRowHolder:
                    this.m_dataRowHolder = (RuntimeSortDataHolder)reader.ReadRIFObject();
                    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.Enabled:
                    m_enabled = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.BreakLineType:
                    m_breakLineType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CollapsibleSpaceThreshold:
                    m_collapsibleSpaceThreshold = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MaxNumberOfBreaks:
                    m_maxNumberOfBreaks = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Spacing:
                    m_spacing = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.IncludeZero:
                    m_includeZero = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.FrameShape:
                    this.m_frameShape = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.FrameWidth:
                    this.m_frameWidth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.GlassEffect:
                    this.m_glassEffect = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.FrameImage:
                    this.m_frameImage = (FrameImage)reader.ReadRIFObject();
                    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.Scope:
					m_scope = reader.ReadString();
					break;
				case MemberName.TotalGroupingExpressionCount:
					m_totalGroupingExpressionCount = reader.ReadInt32();
					break;
				case MemberName.IsScopedInEvaluationScope:
					m_isScopedInEvaluationScope = reader.ReadBoolean();
					break;
				default:
					Global.Tracer.Assert(condition: false);
					break;
				}
			}
		}
Example #26
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(Sorting.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.SortExpressions:
                    this.m_sortExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.SortDirections:
                    this.m_sortDirections = reader.ReadListOfPrimitives <bool>();
                    break;

                case MemberName.NaturalSortFlags:
                    this.m_naturalSortFlags = reader.ReadListOfPrimitives <bool>();
                    break;

                case MemberName.NaturalSort:
                    this.m_naturalSort = reader.ReadBoolean();
                    break;

                case MemberName.DeferredSortFlags:
                    this.m_deferredSortFlags = reader.ReadListOfPrimitives <bool>();
                    break;

                case MemberName.DeferredSort:
                    this.m_deferredSort = reader.ReadBoolean();
                    break;

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

                case MemberName.SortExpressionScope:
                    this.m_sortExpressionScope = reader.ReadReference <ISortFilterScope>(this);
                    break;

                case MemberName.GroupsInSortTarget:
                    this.m_groupsInSortTarget = reader.ReadListOfReferences <GroupingList, Grouping>(this);
                    break;

                case MemberName.SortTarget:
                    this.m_sortTarget = reader.ReadReference <ISortFilterScope>(this);
                    break;

                case MemberName.SortExpressionIndex:
                    this.m_sortExpressionIndex = reader.ReadInt32();
                    break;

                case MemberName.DetailScopeSubReports:
                    this.m_detailScopeSubReports = reader.ReadGenericListOfReferences <SubReport>(this);
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #28
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(RuntimeExpressionInfo.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Expression:
                {
                    int id2 = reader.ReadInt32();
                    this.m_expression = (ExpressionInfo)scalabilityCache.FetchStaticReference(id2);
                    break;
                }

                case MemberName.Direction:
                    this.m_direction = reader.ReadBoolean();
                    break;

                case MemberName.ExpressionsHost:
                {
                    int id = reader.ReadInt32();
                    this.m_expressionsHost = (IndexedExprHost)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.ExpressionIndex:
                    this.m_expressionIndex = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public virtual void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ParameterValue.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

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

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

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

                case MemberName.Omit:
                    this.m_omit = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.UniqueName:
                    this.m_uniqueName = reader.ReadString();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Example #30
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(AttributeInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.IsExpression:
                    this.m_isExpression = reader.ReadBoolean();
                    break;

                case MemberName.StringValue:
                    this.m_stringValue = reader.ReadString();
                    break;

                case MemberName.BoolValue:
                    this.m_boolValue = reader.ReadBoolean();
                    break;

                case MemberName.IntValue:
                    this.m_intValue = reader.ReadInt32();
                    break;

                case MemberName.FloatValue:
                    this.m_floatValue = reader.ReadDouble();
                    break;

                case MemberName.ValueType:
                    this.m_valueType = (ValueType)reader.ReadEnum();
                    break;

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