public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Children:
                    m_children = reader.ReadArrayOfRIFObjects <PageItem>();
                    break;

                case MemberName.Indexes:
                    m_indexesLeftToRight = reader.ReadInt32Array();
                    break;

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

                case MemberName.DefPadding:
                    m_definitionRightPadding = reader.ReadDouble();
                    break;

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

                default:
                    RSTrace.RenderingTracer.Assert(condition: false, string.Empty);
                    break;
                }
            }
        }
예제 #2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Size:
                    m_size = reader.ReadString();
                    break;

                case MemberName.SizeValue:
                    m_sizeValue = reader.ReadDouble();
                    break;

                case MemberName.CellContents:
                    m_cellContents = (ReportItem)reader.ReadRIFObject();
                    break;

                case MemberName.AltCellContents:
                    m_altCellContents = (ReportItem)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #3
0
        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;
                }
            }
        }
예제 #4
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ReportBody.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.BodySource:
                {
                    int id = reader.ReadInt32();
                    this.m_source = (Body)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.Width:
                    this.m_originalWidth = reader.ReadDouble();
                    break;

                default:
                    RSTrace.RenderingTracer.Assert(false, string.Empty);
                    break;
                }
            }
        }
예제 #5
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DynamicWidth:
                    m_dynamicWidth = reader.ReadDouble();
                    break;

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

                default:
                    RSTrace.RenderingTracer.Assert(condition: false, string.Empty);
                    break;
                }
            }
        }
예제 #6
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

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

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

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

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

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

                default:
                    RSTrace.RenderingTracer.Assert(false, string.Empty);
                    break;
                }
            }
        }
예제 #7
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;
                }
            }
        }
예제 #8
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;
                }
            }
        }
예제 #9
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DeltaX:
                    m_deltaX = reader.ReadDouble();
                    break;

                case MemberName.DeltaY:
                    m_deltaY = reader.ReadDouble();
                    break;

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

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

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

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

                default:
                    RSTrace.RenderingTracer.Assert(condition: false, string.Empty);
                    break;
                }
            }
        }
예제 #10
0
        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;
                }
            }
        }
예제 #11
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;
                }
            }
        }