public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            this.m_isDataRegion = (base.m_dataSetName != null);
            reader.RegisterDeclaration(CustomReportItem.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DataColumnMembers:
                    this.m_dataColumnMembers = reader.ReadListOfRIFObjects <DataMemberList>();
                    break;

                case MemberName.DataRowMembers:
                    this.m_dataRowMembers = reader.ReadListOfRIFObjects <DataMemberList>();
                    break;

                case MemberName.DataRows:
                    this.m_dataRows = reader.ReadListOfRIFObjects <CustomDataRowList>();
                    break;

                case MemberName.Type:
                    this.m_type = reader.ReadString();
                    break;

                case MemberName.AltReportItem:
                    this.m_altReportItem = reader.ReadReference <ReportItem>(this);
                    break;

                case MemberName.AltReportItemIndexInParentCollectionDef:
                    this.m_altReportItemIndexInParentCollectionDef = reader.ReadInt32();
                    break;

                case MemberName.RenderReportItemColDef:
                    this.m_renderReportItem = (ReportItemCollection)reader.ReadRIFObject();
                    break;

                case MemberName.ExplicitAltReportItem:
                    this.m_explicitAltReportItemDefined = reader.ReadBoolean();
                    break;

                case MemberName.IsDataRegion:
                    this.m_isDataRegion = reader.ReadBoolean();
                    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.ParametersLayoutNumberOfColumns:
                    NumberOfColumns = reader.ReadInt32();
                    break;

                case MemberName.ParametersLayoutNumberOfRows:
                    NumberOfRows = reader.ReadInt32();
                    break;

                case MemberName.ParametersLayoutCellDefinitions:
                    CellDefinitions = reader.ReadListOfRIFObjects <ParametersGridCellDefinitionList>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false, "Unexpected RIF Member for ParametersGridLayout");
                    break;
                }
            }
        }
Exemple #3
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(RuntimeUserSortTargetInfo.m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.SortTree:
                    this.m_sortTree = (BTree)reader.ReadRIFObject();
                    break;

                case MemberName.AggregateRows:
                    this.m_aggregateRows = reader.ReadListOfRIFObjects <List <AggregateRow> >();
                    break;

                case MemberName.SortFilterInfoIndices:
                    this.m_sortFilterInfoIndices = reader.ReadListOfPrimitives <int>();
                    break;

                case MemberName.TargetForNonDetailSort:
                    this.m_targetForNonDetailSort = reader.ReadVariantVariantHashtable();
                    break;

                case MemberName.TargetForDetailSort:
                    this.m_targetForDetailSort = reader.ReadVariantVariantHashtable();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        void IPersistable.Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ActionDefinition:
                    base.ActionDef = (Microsoft.ReportingServices.ReportIntermediateFormat.Action)reader.ReadRIFObject();
                    break;

                case MemberName.Actions:
                    ((ROMInstanceObjectCreator)reader.PersistenceHelper).StartActionInfoInstancesDeserialization(this);
                    reader.ReadArrayOfRIFObjects <ActionInstance>();
                    ((ROMInstanceObjectCreator)reader.PersistenceHelper).CompleteActionInfoInstancesDeserialization();
                    break;

                case MemberName.ImageMapAreas:
                    m_imageMapAreas = new ImageMapAreaInstanceCollection();
                    reader.ReadListOfRIFObjects(m_imageMapAreas.InternalList);
                    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.GaugeCell:
                    GaugeCell = (GaugeCell)reader.ReadRIFObject();
                    break;

                case MemberName.GaugePanel:
                    m_gaugePanel = reader.ReadReference <GaugePanel>(this);
                    break;

                case MemberName.Cells:
                    m_cells = reader.ReadListOfRIFObjects <GaugeCellList>();
                    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.OuterGroupingCounters:
                    m_outerGroupingCounters = reader.ReadInt32Array();
                    break;

                case MemberName.OuterGroupings:
                    m_outerGroupings = reader.ReadArrayOfRIFObjects <IReference <RuntimeMemberObj> >();
                    break;

                case MemberName.InnerGroupings:
                    m_innerGroupings = reader.ReadArrayOfRIFObjects <IReference <RuntimeMemberObj> >();
                    break;

                case MemberName.InnerGroupsWithCellsForOuterPeerGroupProcessing:
                    m_innerGroupsWithCellsForOuterPeerGroupProcessing = reader.ReadListOfRIFObjects <List <IReference <RuntimeDataTablixGroupLeafObj> > >();
                    break;

                case MemberName.ScopeInstanceNumber:
                    m_scopeInstanceNumber = reader.ReadInt64();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Exemple #7
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ChartMembers:
                    m_chartMembers = reader.ReadListOfRIFObjects <ChartMemberList>();
                    break;

                case MemberName.DataElementName:
                    m_dataElementName = reader.ReadString();
                    break;

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

                case MemberName.Label:
                    m_labelExpression = (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.Grouping:
                    m_grouping = (RuntimeGroupingObj)reader.ReadRIFObject();
                    if (m_grouping != null)
                    {
                        m_grouping.SetOwner(this);
                    }
                    break;

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

                case MemberName.HierarchyRoot:
                    m_hierarchyRoot = (RuntimeHierarchyObjReference)reader.ReadRIFObject();
                    break;

                case MemberName.HierarchyObjs:
                    m_hierarchyObjs = reader.ReadListOfRIFObjects <List <IReference <RuntimeHierarchyObj> > >();
                    break;

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

                case MemberName.HeightValue:
                    this.m_heightValue = reader.ReadDouble();
                    break;

                case MemberName.TablixCells:
                    this.m_cells = reader.ReadListOfRIFObjects <TablixCellList>();
                    break;

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

                case MemberName.DataLabel:
                    m_dataLabel = (ChartDataLabel)reader.ReadRIFObject();
                    break;

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

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

                case MemberName.DataElementName:
                    m_dataElementName = reader.ReadString();
                    break;

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

                case MemberName.CustomProperties:
                    m_customProperties = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

                case MemberName.Marker:
                    m_marker = (ChartMarker)reader.ReadRIFObject();
                    break;

                case MemberName.AxisLabel:
                    m_axisLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartItemInLegend:
                    m_itemInLegend = (ChartItemInLegend)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
 public void Deserialize(IntermediateFormatReader reader)
 {
     reader.RegisterDeclaration(DataCellInstanceList.m_Declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.Items)
         {
             reader.ReadListOfRIFObjects(this);
         }
         else
         {
             Global.Tracer.Assert(false);
         }
     }
 }
 public void Deserialize(IntermediateFormatReader reader)
 {
     reader.RegisterDeclaration(ChildLeafInfo.m_declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.List)
         {
             reader.ReadListOfRIFObjects(this);
         }
         else
         {
             Global.Tracer.Assert(false);
         }
     }
 }
 public override void Deserialize(IntermediateFormatReader reader)
 {
     base.Deserialize(reader);
     reader.RegisterDeclaration(m_Declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.Cells)
         {
             m_cells = reader.ReadListOfRIFObjects <DataCellList>();
         }
         else
         {
             Global.Tracer.Assert(condition: false);
         }
     }
 }
 public void Deserialize(IntermediateFormatReader reader)
 {
     reader.RegisterDeclaration(m_declaration);
     _ = reader.PersistenceHelper;
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.DataRegionObjs)
         {
             m_dataRegionObjs = reader.ReadListOfRIFObjects <List <RuntimeDataTablixObjReference> >();
         }
         else
         {
             Global.Tracer.Assert(condition: false);
         }
     }
 }
Exemple #15
0
 public override void Deserialize(IntermediateFormatReader reader)
 {
     base.Deserialize(reader);
     reader.RegisterDeclaration(DataCell.m_Declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.DataValues)
         {
             this.m_dataValues = reader.ReadListOfRIFObjects <DataValueList>();
         }
         else
         {
             Global.Tracer.Assert(false);
         }
     }
 }
Exemple #16
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(RecordSetInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ReaderExtensionsSupported:
                    this.m_readerExtensionsSupported = reader.ReadBoolean();
                    break;

                case MemberName.FieldPropertyNames:
                    this.m_fieldPropertyNames = reader.ReadListOfRIFObjects <RecordSetPropertyNamesList>();
                    break;

                case MemberName.CompareOptions:
                    this.m_compareOptions = (CompareOptions)reader.ReadEnum();
                    break;

                case MemberName.FieldNames:
                    this.m_fieldNames = reader.ReadStringArray();
                    break;

                case MemberName.CommandText:
                    this.m_commandText = reader.ReadString();
                    break;

                case MemberName.RewrittenCommandText:
                    this.m_rewrittenCommandText = reader.ReadString();
                    break;

                case MemberName.CultureName:
                    this.m_cultureName = reader.ReadString();
                    break;

                case MemberName.ExecutionTime:
                    this.m_executionTime = reader.ReadDateTime();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(CriImageInstance.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ImageData:
                    this.m_imageData = reader.ReadByteArray();
                    break;

                case MemberName.MIMEType:
                {
                    string text = reader.ReadString();
                    if (base.ImageDef.MIMEType != null && base.ImageDef.MIMEType.IsExpression)
                    {
                        this.m_mimeTypeEvaluated = true;
                        this.m_mimeType          = text;
                    }
                    else
                    {
                        Global.Tracer.Assert(text == null, "(mimeType == null)");
                    }
                    break;
                }

                case MemberName.Actions:
                    ((ROMInstanceObjectCreator)reader.PersistenceHelper).StartActionInfoInstancesDeserialization(base.ImageDef.ActionInfo);
                    reader.ReadArrayOfRIFObjects <ActionInstance>();
                    ((ROMInstanceObjectCreator)reader.PersistenceHelper).CompleteActionInfoInstancesDeserialization();
                    break;

                case MemberName.ImageMapAreas:
                    this.m_actionInfoImageMapAreas = new ActionInfoWithDynamicImageMapCollection();
                    reader.ReadListOfRIFObjects(this.m_actionInfoImageMapAreas.InternalList);
                    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.Action:
                    m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.Marker:
                    m_marker = (ChartMarker)reader.ReadRIFObject();
                    break;

                case MemberName.DataLabel:
                    m_dataLabel = (ChartDataLabel)reader.ReadRIFObject();
                    break;

                case MemberName.AxisLabel:
                    m_axisLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CustomProperties:
                    m_customProperties = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DefinitionUniqueName:
                    m_definitionUniqueName = reader.ReadString();
                    break;

                case MemberName.ReportPath:
                    m_reportPath = reader.ReadString();
                    break;

                case MemberName.ParametersFromCatalog:
                    m_parametersFromCatalog = reader.ReadListOfRIFObjects <ParameterInfoCollection>();
                    break;

                case MemberName.RetrievalFailed:
                    m_retrievalFailed = reader.ReadBoolean();
                    break;

                case MemberName.Description:
                    m_description = reader.ReadString();
                    break;

                case MemberName.OriginalCatalogPath:
                    m_originalCatalogPath = reader.ReadString();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
            if (m_originalCatalogPath == null)
            {
                m_originalCatalogPath = m_reportPath;
            }
        }
        void IPersistable.Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(BTreeNodeTupleList.m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.List:
                    this.m_list = reader.ReadListOfRIFObjects <List <BTreeNodeTuple> >();
                    break;

                case MemberName.Capacity:
                    this.m_capacity = 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.GaugeMember:
                    ChildGaugeMember = (GaugeMember)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Exemple #22
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.LastID:
                    m_lastID = reader.ReadInt32();
                    break;

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

                case MemberName.InstanceParameterValues:
                    m_instanceParameterValues = reader.ReadListOfRIFObjects <List <ParametersImplWrapper> >();
                    break;

                case MemberName.DataSetID:
                    m_userSortDataSetGlobalId = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
            if (m_instanceParameterValues != null)
            {
                m_parameterValuesToInfoIndexMap = new Dictionary <ParametersImplWrapper, int>(ParametersImplValuesComparer.Instance);
                for (int i = 0; i < m_instanceParameterValues.Count; i++)
                {
                    m_parameterValuesToInfoIndexMap[m_instanceParameterValues[i]] = i;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            ParameterInfoCollection parameterInfoCollection  = null;
            ParameterInfoCollection parameterInfoCollection2 = null;

            reader.RegisterDeclaration(ReportSnapshot.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ExecutionTime:
                    this.m_executionTime = reader.ReadDateTime();
                    break;

                case MemberName.Report:
                    this.m_report = reader.ReadReference <Report>(this);
                    break;

                case MemberName.HasDocumentMap:
                    this.m_hasDocumentMap = reader.ReadBoolean();
                    break;

                case MemberName.HasShowHide:
                    this.m_hasShowHide = reader.ReadBoolean();
                    break;

                case MemberName.HasBookmarks:
                    this.m_hasBookmarks = reader.ReadBoolean();
                    break;

                case MemberName.RequestUserName:
                    this.m_requestUserName = reader.ReadString();
                    break;

                case MemberName.ReportServerUrl:
                    this.m_reportServerUrl = reader.ReadString();
                    break;

                case MemberName.ReportFolder:
                    this.m_reportFolder = reader.ReadString();
                    break;

                case MemberName.Language:
                    this.m_language = reader.ReadString();
                    break;

                case MemberName.ProcessingMessages:
                    this.m_processingMessages = reader.ReadListOfRIFObjects <ProcessingMessageList>();
                    break;

                case MemberName.Parameters:
                    parameterInfoCollection = new ParameterInfoCollection();
                    reader.ReadListOfRIFObjects(parameterInfoCollection);
                    break;

                case MemberName.ImageChunkNames:
                    this.m_cachedDatabaseImages = reader.ReadStringStringHashtable <Dictionary <string, string> >();
                    break;

                case MemberName.GeneratedReportItemChunkNames:
                    this.m_cachedGeneratedReportItems = reader.ReadStringStringHashtable <Dictionary <string, string> >();
                    break;

                case MemberName.HasUserSortFilter:
                    this.m_hasUserSortFilter = reader.ReadBoolean();
                    break;

                case MemberName.AggregateFieldReferences:
                    this.m_aggregateFieldReferences = reader.ReadStringListOfStringDictionary();
                    break;

                case MemberName.SnapshotParameters:
                    parameterInfoCollection2 = (ParameterInfoCollection)reader.ReadRIFObject();
                    break;

                case MemberName.DefinitionHasDocumentMap:
                {
                    object obj = reader.ReadVariant();
                    if (obj != null)
                    {
                        this.m_definitionHasDocumentMap = (bool)obj;
                    }
                    break;
                }

                case MemberName.DocumentMapRenderFormat:
                    this.m_documentMapRenderFormat = reader.ReadString();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
            this.m_parameters = parameterInfoCollection;
            if (parameterInfoCollection != null && parameterInfoCollection.Count != 0)
            {
                return;
            }
            if (parameterInfoCollection2 != null)
            {
                this.m_parameters = parameterInfoCollection2;
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.RecordSetSize:
                    m_recordSetSize = reader.ReadInt32();
                    break;

                case MemberName.CommandText:
                    m_commandText = reader.ReadString();
                    break;

                case MemberName.RewrittenCommandText:
                    m_rewrittenCommandText = reader.ReadString();
                    break;

                case MemberName.Fields:
                    m_fieldInfos = reader.ReadArrayOfRIFObjects <FieldInfo>();
                    break;

                case MemberName.CaseSensitivity:
                    m_caseSensitivity = (DataSet.TriState)reader.ReadEnum();
                    break;

                case MemberName.AccentSensitivity:
                    m_accentSensitivity = (DataSet.TriState)reader.ReadEnum();
                    break;

                case MemberName.KanatypeSensitivity:
                    m_kanatypeSensitivity = (DataSet.TriState)reader.ReadEnum();
                    break;

                case MemberName.WidthSensitivity:
                    m_widthSensitivity = (DataSet.TriState)reader.ReadEnum();
                    break;

                case MemberName.LCID:
                    m_lcid = reader.ReadUInt32();
                    break;

                case MemberName.TablixProcessingComplete:
                    m_oldSnapshotTablixProcessingComplete = reader.ReadBoolean();
                    break;

                case MemberName.DataChunkName:
                    m_dataChunkName = reader.ReadString();
                    break;

                case MemberName.LookupResults:
                    m_lookupResults = reader.ReadListOfRIFObjects <List <LookupObjResult> >();
                    break;

                case MemberName.ExecutionTime:
                    m_executionTime = reader.ReadDateTime();
                    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.GaugeMember:
                    GaugeMember = (GaugeMember)reader.ReadRIFObject();
                    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Exemple #26
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case MemberName.ChartDataPoints:
                    m_dataPoints = reader.ReadListOfRIFObjects <ChartDataPointList>();
                    break;

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

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

                case MemberName.ChartMember:
                    m_parentChartMember = reader.ReadReference <ChartMember>(this);
                    break;

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

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

                case MemberName.Type:
                    m_type = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Subtype:
                    m_subtype = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.EmptyPoints:
                    m_emptyPoints = (ChartEmptyPoints)reader.ReadRIFObject();
                    break;

                case MemberName.LegendName:
                    m_legendName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LegendText:
                    m_legendText = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartAreaName:
                    m_chartAreaName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ValueAxisName:
                    m_valueAxisName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CategoryAxisName:
                    m_categoryAxisName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

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

                case MemberName.HideInLegend:
                    m_hideInLegend = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartSmartLabel:
                    m_chartSmartLabel = (ChartSmartLabel)reader.ReadRIFObject();
                    break;

                case MemberName.CustomProperties:
                    m_customProperties = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

                case MemberName.DataLabel:
                    m_dataLabel = (ChartDataLabel)reader.ReadRIFObject();
                    break;

                case MemberName.Marker:
                    m_marker = (ChartMarker)reader.ReadRIFObject();
                    break;

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

                case MemberName.ChartItemInLegend:
                    m_chartItemInLegend = (ChartItemInLegend)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Exemple #27
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.CategoryMembers:
                    m_categoryMembers = reader.ReadListOfRIFObjects <ChartMemberList>();
                    break;

                case MemberName.SeriesMembers:
                    m_seriesMembers = reader.ReadListOfRIFObjects <ChartMemberList>();
                    break;

                case MemberName.ChartSeriesCollection:
                    m_chartSeriesCollection = reader.ReadListOfRIFObjects <ChartSeriesList>();
                    break;

                case MemberName.ChartDerivedSeriesCollection:
                    m_chartDerivedSeriesCollection = reader.ReadGenericListOfRIFObjects <ChartDerivedSeries>();
                    break;

                case MemberName.Palette:
                    m_palette = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartLegends:
                    m_legends = reader.ReadGenericListOfRIFObjects <ChartLegend>();
                    break;

                case MemberName.ChartAreas:
                    m_chartAreas = reader.ReadGenericListOfRIFObjects <ChartArea>();
                    break;

                case MemberName.Titles:
                    m_titles = reader.ReadGenericListOfRIFObjects <ChartTitle>();
                    break;

                case MemberName.DynamicHeight:
                    m_dynamicHeight = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DynamicWidth:
                    m_dynamicWidth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CodeParameters:
                    m_codeParameters = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

                case MemberName.CustomPaletteColors:
                    m_customPaletteColors = reader.ReadGenericListOfRIFObjects <ChartCustomPaletteColor>();
                    break;

                case MemberName.NoDataMessage:
                    m_noDataMessage = (ChartNoDataMessage)reader.ReadRIFObject();
                    break;

                case MemberName.BorderSkin:
                    m_borderSkin = (ChartBorderSkin)reader.ReadRIFObject();
                    break;

                case MemberName.DataValueSequenceRendering:
                    m_dataValueSequenceRendering = reader.ReadBoolean();
                    break;

                case MemberName.PaletteHatchBehavior:
                    m_paletteHatchBehavior = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnGroupingIsSwitched:
                    m_columnGroupingIsSwitched = reader.ReadBoolean();
                    break;

                case MemberName.EnableCategoryDrilldown:
                    m_enableCategoryDrilldown = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
 public override void Deserialize(IntermediateFormatReader reader)
 {
     base.Deserialize(reader);
     reader.RegisterDeclaration(m_declaration);
     IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;
     while (reader.NextMember())
     {
         switch (reader.CurrentMember.MemberName)
         {
         case MemberName.DataRegionDef:
         {
             int id2 = reader.ReadInt32();
             m_dataRegionDef = (Microsoft.ReportingServices.ReportIntermediateFormat.DataRegion)scalabilityCache.FetchStaticReference(id2);
             break;
         }
         case MemberName.OuterScope:
             m_outerScope = (IReference<IScope>)reader.ReadRIFObject();
             break;
         case MemberName.FirstRow:
             m_firstRow = (DataFieldRow)reader.ReadRIFObject();
             break;
         case MemberName.FirstRowIsAggregate:
             m_firstRowIsAggregate = reader.ReadBoolean();
             break;
         case MemberName.Filters:
         {
             int id = reader.ReadInt32();
             m_filters = (Filters)scalabilityCache.FetchStaticReference(id);
             break;
         }
         case MemberName.NonCustomAggregates:
             m_nonCustomAggregates = reader.ReadListOfRIFObjects<List<Microsoft.ReportingServices.ReportIntermediateFormat.DataAggregateObj>>();
             break;
         case MemberName.CustomAggregates:
             m_customAggregates = reader.ReadListOfRIFObjects<List<Microsoft.ReportingServices.ReportIntermediateFormat.DataAggregateObj>>();
             break;
         case MemberName.DataAction:
             m_dataAction = (DataActions)reader.ReadEnum();
             break;
         case MemberName.OuterDataAction:
             m_outerDataAction = (DataActions)reader.ReadEnum();
             break;
         case MemberName.RunningValues:
             m_runningValues = reader.ReadListOfPrimitives<string>();
             break;
         case MemberName.PreviousValues:
             m_previousValues = reader.ReadListOfPrimitives<string>();
             break;
         case MemberName.RunningValueValues:
             m_runningValueValues = reader.ReadArrayOfRIFObjects<Microsoft.ReportingServices.ReportIntermediateFormat.DataAggregateObjResult>();
             break;
         case MemberName.RunningValueOfAggregateValues:
             m_runningValueOfAggregateValues = reader.ReadArrayOfRIFObjects<Microsoft.ReportingServices.ReportIntermediateFormat.DataAggregateObjResult>();
             break;
         case MemberName.PostSortAggregates:
             m_postSortAggregates = reader.ReadListOfRIFObjects<List<Microsoft.ReportingServices.ReportIntermediateFormat.DataAggregateObj>>();
             break;
         case MemberName.DataRows:
             m_dataRows = reader.ReadRIFObject<ScalableList<DataFieldRow>>();
             break;
         case MemberName.InnerDataAction:
             m_innerDataAction = (DataActions)reader.ReadEnum();
             break;
         case MemberName.UserSortTargetInfo:
             m_userSortTargetInfo = (RuntimeUserSortTargetInfo)reader.ReadRIFObject();
             break;
         case MemberName.SortFilterExpressionScopeInfoIndices:
             m_sortFilterExpressionScopeInfoIndices = reader.ReadInt32Array();
             break;
         case MemberName.InDataRowSortPhase:
             m_inDataRowSortPhase = reader.ReadBoolean();
             break;
         case MemberName.SortedDataRowTree:
             m_sortedDataRowTree = (BTree)reader.ReadRIFObject();
             break;
         case MemberName.DataRowSortExpression:
             m_dataRowSortExpression = (RuntimeExpressionInfo)reader.ReadRIFObject();
             break;
         case MemberName.AggregatesOfAggregates:
             m_aggregatesOfAggregates = (BucketedDataAggregateObjs)reader.ReadRIFObject();
             break;
         case MemberName.PostSortAggregatesOfAggregates:
             m_postSortAggregatesOfAggregates = (BucketedDataAggregateObjs)reader.ReadRIFObject();
             break;
         case MemberName.HasProcessedAggregateRow:
             m_hasProcessedAggregateRow = reader.ReadBoolean();
             break;
         default:
             Global.Tracer.Assert(condition: false);
             break;
         }
     }
 }
Exemple #29
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

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

                case MemberName.Top:
                    m_top = reader.ReadString();
                    break;

                case MemberName.TopValue:
                    m_topValue = reader.ReadDouble();
                    break;

                case MemberName.Left:
                    m_left = reader.ReadString();
                    break;

                case MemberName.LeftValue:
                    m_leftValue = reader.ReadDouble();
                    break;

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

                case MemberName.HeightValue:
                    m_heightValue = reader.ReadDouble();
                    break;

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

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

                case MemberName.ZIndex:
                    m_zIndex = reader.ReadInt32();
                    break;

                case MemberName.Visibility:
                    m_visibility = (Visibility)reader.ReadRIFObject();
                    break;

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

                case MemberName.Label:
                    m_documentMapLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Bookmark:
                    m_bookmark = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.RepeatedSibling:
                    m_repeatedSibling = reader.ReadBoolean();
                    break;

                case MemberName.IsFullSize:
                    m_isFullSize = reader.ReadBoolean();
                    break;

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

                case MemberName.DataElementName:
                    m_dataElementName = reader.ReadString();
                    break;

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

                case MemberName.CustomProperties:
                    m_customProperties = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

                case MemberName.Computed:
                    m_computed = reader.ReadBoolean();
                    break;

                case MemberName.ContainingDynamicVisibility:
                    m_containingDynamicVisibility = reader.ReadReference <IVisibilityOwner>(this);
                    break;

                case MemberName.ContainingDynamicRowVisibility:
                    m_containingDynamicRowVisibility = reader.ReadReference <IVisibilityOwner>(this);
                    break;

                case MemberName.ContainingDynamicColumnVisibility:
                    m_containingDynamicColumnVisibility = reader.ReadReference <IVisibilityOwner>(this);
                    break;

                case MemberName.RepeatWith:
                    m_repeatWith = reader.ReadString();
                    break;

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