void IPersistable.Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(ParameterDef.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Prompt: this.m_prompt = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ValidValuesDataSource: this.m_validValuesDataSource = (ParameterDataSource)reader.ReadRIFObject(); break; case MemberName.ValidValuesValueExpression: this.m_validValuesValueExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>(); break; case MemberName.ValidValuesLabelExpression: this.m_validValuesLabelExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>(); break; case MemberName.DefaultValueDataSource: this.m_defaultDataSource = (ParameterDataSource)reader.ReadRIFObject(); break; case MemberName.ExpressionList: this.m_defaultExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>(); break; case MemberName.DependencyList: { List <ParameterDef> list = reader.ReadGenericListOfRIFObjects <ParameterDef>(); if (list != null) { this.m_dependencyList = list; } break; } case MemberName.DependencyRefList: this.m_dependencyList = reader.ReadGenericListOfReferences <ParameterDef>(this); break; case MemberName.ExprHostID: this.m_exprHostID = reader.ReadInt32(); break; case MemberName.ReferenceID: this.m_referenceId = reader.ReadInt32(); 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.Page: m_page = (Page)reader.ReadRIFObject(); break; case MemberName.ReportItems: m_reportItems = (ReportItemCollection)reader.ReadRIFObject(); break; case MemberName.TextboxesInScope: m_textboxesInScope = reader.ReadByteArray(); break; case MemberName.VariablesInScope: m_variablesInScope = reader.ReadByteArray(); break; case MemberName.NeedsTotalPages: case MemberName.NeedsOverallTotalPages: m_needsOverallTotalPages = reader.ReadBoolean(); break; case MemberName.NeedsPageBreakTotalPages: m_needsPageBreakTotalPages = reader.ReadBoolean(); break; case MemberName.NeedsReportItemsOnPage: m_needsReportItemsOnPage = reader.ReadBoolean(); break; case MemberName.InScopeTextBoxes: m_inScopeTextBoxes = reader.ReadGenericListOfReferences <TextBox>(this); break; case MemberName.LayoutDirection: m_layoutDirection = reader.ReadBoolean(); break; default: Global.Tracer.Assert(condition: false); break; } } }
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; } } }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(Cell.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.ExprHostID: this.m_exprHostID = reader.ReadInt32(); break; case MemberName.ParentRowID: base.m_parentIDOwner = reader.ReadReference <IDOwner>(this); if (base.m_parentIDOwner != null) { this.m_parentRowID = base.m_parentIDOwner.ID; } break; case MemberName.ParentColumnID: this.m_parentColumnIDOwner = reader.ReadReference <IDOwner>(this); if (this.m_parentColumnIDOwner != null) { this.m_parentColumnID = this.m_parentColumnIDOwner.ID; } break; case MemberName.IndexInCollection: this.m_indexInCollection = reader.ReadInt32(); break; case MemberName.HasInnerGroupTreeHierarchy: this.m_hasInnerGroupTreeHierarchy = reader.ReadBoolean(); break; case MemberName.DataRegionDef: this.m_dataRegionDef = reader.ReadReference <DataRegion>(this); break; case MemberName.AggregateIndexes: this.m_aggregateIndexes = reader.ReadListOfPrimitives <int>(); break; case MemberName.PostSortAggregateIndexes: this.m_postSortAggregateIndexes = reader.ReadListOfPrimitives <int>(); break; case MemberName.RunningValueIndexes: this.m_runningValueIndexes = reader.ReadListOfPrimitives <int>(); break; case MemberName.NeedToCacheDataRows: this.m_needToCacheDataRows = reader.ReadBoolean(); break; case MemberName.InScopeEventSources: this.m_inScopeEventSources = reader.ReadGenericListOfReferences <IInScopeEventSource>(this); break; case MemberName.InDynamicRowAndColumnContext: this.m_inDynamicRowAndColumnContext = reader.ReadBoolean(); break; case MemberName.TextboxesInScope: this.m_textboxesInScope = reader.ReadByteArray(); break; case MemberName.VariablesInScope: this.m_variablesInScope = reader.ReadByteArray(); break; case MemberName.DataScopeInfo: this.m_dataScopeInfo = reader.ReadRIFObject <DataScopeInfo>(); break; default: Global.Tracer.Assert(false); break; } } }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(Page.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.PageHeader: this.m_pageHeader = (PageSection)reader.ReadRIFObject(); break; case MemberName.PageFooter: this.m_pageFooter = (PageSection)reader.ReadRIFObject(); break; case MemberName.PageHeight: this.m_pageHeight = reader.ReadString(); break; case MemberName.PageHeightValue: this.m_pageHeightValue = reader.ReadDouble(); break; case MemberName.PageWidth: this.m_pageWidth = reader.ReadString(); break; case MemberName.PageWidthValue: this.m_pageWidthValue = reader.ReadDouble(); break; case MemberName.LeftMargin: this.m_leftMargin = reader.ReadString(); break; case MemberName.LeftMarginValue: this.m_leftMarginValue = reader.ReadDouble(); break; case MemberName.RightMargin: this.m_rightMargin = reader.ReadString(); break; case MemberName.RightMarginValue: this.m_rightMarginValue = reader.ReadDouble(); break; case MemberName.TopMargin: this.m_topMargin = reader.ReadString(); break; case MemberName.TopMarginValue: this.m_topMarginValue = reader.ReadDouble(); break; case MemberName.BottomMargin: this.m_bottomMargin = reader.ReadString(); break; case MemberName.BottomMarginValue: this.m_bottomMarginValue = reader.ReadDouble(); break; case MemberName.InteractiveHeight: this.m_interactiveHeight = reader.ReadString(); break; case MemberName.InteractiveHeightValue: this.m_interactiveHeightValue = reader.ReadDouble(); break; case MemberName.InteractiveWidth: this.m_interactiveWidth = reader.ReadString(); break; case MemberName.InteractiveWidthValue: this.m_interactiveWidthValue = reader.ReadDouble(); break; case MemberName.Columns: this.m_columns = reader.ReadInt32(); break; case MemberName.ColumnSpacing: this.m_columnSpacing = reader.ReadString(); break; case MemberName.ColumnSpacingValue: this.m_columnSpacingValue = reader.ReadDouble(); break; case MemberName.StyleClass: this.m_styleClass = (Style)reader.ReadRIFObject(); break; case MemberName.ExprHostID: this.m_exprHostID = reader.ReadInt32(); break; case MemberName.TextboxesInScope: this.m_textboxesInScope = reader.ReadByteArray(); break; case MemberName.VariablesInScope: this.m_variablesInScope = reader.ReadByteArray(); break; case MemberName.InScopeTextBoxes: this.m_inScopeTextBoxes = reader.ReadGenericListOfReferences <TextBox>(this); break; case MemberName.PageAggregates: this.m_pageAggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>(); break; default: Global.Tracer.Assert(false); break; } } }
public void Deserialize(IntermediateFormatReader reader) { reader.RegisterDeclaration(m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Name: m_name = reader.ReadString(); break; case MemberName.ID: m_ID = reader.ReadInt32(); break; case MemberName.GroupExpressions: m_groupExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>(); break; case MemberName.GroupLabel: m_groupLabel = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.SortDirections: m_sortDirections = reader.ReadListOfPrimitives <bool>(); break; case MemberName.PageBreakLocation: m_pageBreak = new PageBreak(); m_pageBreak.BreakLocation = (PageBreakLocation)reader.ReadEnum(); break; case MemberName.Aggregates: m_aggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>(); break; case MemberName.GroupAndSort: m_groupAndSort = reader.ReadBoolean(); break; case MemberName.Filters: m_filters = reader.ReadGenericListOfRIFObjects <Filter>(); break; case MemberName.ReportItemsWithHideDuplicates: m_reportItemsWithHideDuplicates = reader.ReadGenericListOfReferences <ReportItem>(this); break; case MemberName.Parent: m_parent = reader.ReadGenericListOfRIFObjects <ExpressionInfo>(); break; case MemberName.RecursiveAggregates: m_recursiveAggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>(); break; case MemberName.PostSortAggregates: m_postSortAggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>(); break; case MemberName.DataElementName: m_dataElementName = reader.ReadString(); break; case MemberName.DataElementOutput: m_dataElementOutput = (DataElementOutputTypes)reader.ReadEnum(); break; case MemberName.SaveGroupExprValues: m_saveGroupExprValues = reader.ReadBoolean(); break; case MemberName.UserSortExpressions: m_userSortExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>(); break; case MemberName.NonDetailSortFiltersInScope: m_nonDetailSortFiltersInScope = reader.ReadInt32PrimitiveListHashtable <InScopeSortFilterHashtable, int>(); break; case MemberName.DetailSortFiltersInScope: m_detailSortFiltersInScope = reader.ReadInt32PrimitiveListHashtable <InScopeSortFilterHashtable, int>(); break; case MemberName.Variables: m_variables = reader.ReadGenericListOfRIFObjects <Variable>(); break; case MemberName.PageBreak: m_pageBreak = (PageBreak)reader.ReadRIFObject(); break; case MemberName.PageName: m_pageName = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.DomainScope: m_domainScope = reader.ReadString(); break; case MemberName.ScopeIDForDomainScope: m_scopeIDForDomainScope = reader.ReadInt32(); break; case MemberName.NaturalGroup: m_naturalGroup = reader.ReadBoolean(); break; default: Global.Tracer.Assert(condition: false); break; } } }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(DataSet.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Name: this.m_dataSetCore.Name = reader.ReadString(); break; case MemberName.Fields: this.m_dataSetCore.Fields = reader.ReadGenericListOfRIFObjects <Field>(); break; case MemberName.Query: this.m_dataSetCore.Query = (ReportQuery)reader.ReadRIFObject(); break; case MemberName.CaseSensitivity: this.m_dataSetCore.CaseSensitivity = (TriState)reader.ReadEnum(); break; case MemberName.Collation: this.m_dataSetCore.Collation = reader.ReadString(); break; case MemberName.AccentSensitivity: this.m_dataSetCore.AccentSensitivity = (TriState)reader.ReadEnum(); break; case MemberName.KanatypeSensitivity: this.m_dataSetCore.KanatypeSensitivity = (TriState)reader.ReadEnum(); break; case MemberName.WidthSensitivity: this.m_dataSetCore.WidthSensitivity = (TriState)reader.ReadEnum(); break; case MemberName.DataRegions: this.m_dataRegions = reader.ReadGenericListOfReferences <DataRegion>(this); break; case MemberName.Aggregates: this.m_aggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>(); break; case MemberName.Filters: this.m_dataSetCore.Filters = reader.ReadGenericListOfRIFObjects <Filter>(); break; case MemberName.UsedOnlyInParameters: this.m_usedOnlyInParameters = reader.ReadBoolean(); break; case MemberName.NonCalculatedFieldCount: this.m_dataSetCore.NonCalculatedFieldCount = reader.ReadInt32(); break; case MemberName.ExprHostID: this.m_dataSetCore.ExprHostID = reader.ReadInt32(); break; case MemberName.PostSortAggregates: this.m_postSortAggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>(); break; case MemberName.LCID: this.m_dataSetCore.LCID = reader.ReadUInt32(); break; case MemberName.HasDetailUserSortFilter: this.m_hasDetailUserSortFilter = reader.ReadBoolean(); break; case MemberName.UserSortExpressions: this.m_userSortExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>(); break; case MemberName.InterpretSubtotalsAsDetails: this.m_dataSetCore.InterpretSubtotalsAsDetails = (TriState)reader.ReadEnum(); break; case MemberName.HasSubReports: this.m_hasSubReports = reader.ReadBoolean(); break; case MemberName.IndexInCollection: this.m_indexInCollection = reader.ReadInt32(); break; case MemberName.DataSource: this.m_dataSource = reader.ReadReference <DataSource>(this); break; case MemberName.Lookups: this.m_lookups = reader.ReadGenericListOfRIFObjects <LookupInfo>(); break; case MemberName.LookupDestinations: this.m_lookupDestinationInfos = reader.ReadGenericListOfRIFObjects <LookupDestinationInfo>(); break; case MemberName.DataSetCore: this.m_dataSetCore = (DataSetCore)reader.ReadRIFObject(); break; case MemberName.AllowIncrementalProcessing: this.m_allowIncrementalProcessing = reader.ReadBoolean(); break; case MemberName.DefaultRelationships: this.m_defaultRelationships = reader.ReadGenericListOfRIFObjects <DefaultRelationship>(); break; case MemberName.HasScopeWithCustomAggregates: this.m_hasScopeWithCustomAggregates = reader.ReadBoolean(); break; default: Global.Tracer.Assert(false, string.Empty); break; } } }