public PageBreak(RenderingContext renderingContext, IReportScope reportScope, IPageBreakOwner pageBreakOwner)
 {
     this.m_renderingContext = renderingContext;
     this.m_reportScope      = reportScope;
     this.m_pageBreakOwner   = pageBreakOwner;
     this.m_pageBreakDef     = this.m_pageBreakOwner.PageBreak;
     if (this.m_pageBreakDef == null)
     {
         this.m_pageBreakDef = new AspNetCore.ReportingServices.ReportIntermediateFormat.PageBreak();
     }
     this.m_isOldSnapshotOrStaticMember = false;
 }
Example #2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(Map.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapDataRegions:
                    this.m_mapDataRegions = reader.ReadGenericListOfRIFObjects <MapDataRegion>();
                    break;

                case MemberName.MapViewport:
                    this.m_mapViewport = (MapViewport)reader.ReadRIFObject();
                    break;

                case MemberName.MapLayers:
                    this.m_mapLayers = reader.ReadGenericListOfRIFObjects <MapLayer>();
                    break;

                case MemberName.MapLegends:
                    this.m_mapLegends = reader.ReadGenericListOfRIFObjects <MapLegend>();
                    break;

                case MemberName.MapTitles:
                    this.m_mapTitles = reader.ReadGenericListOfRIFObjects <MapTitle>();
                    break;

                case MemberName.MapDistanceScale:
                    this.m_mapDistanceScale = (MapDistanceScale)reader.ReadRIFObject();
                    break;

                case MemberName.MapColorScale:
                    this.m_mapColorScale = (MapColorScale)reader.ReadRIFObject();
                    break;

                case MemberName.MapBorderSkin:
                    this.m_mapBorderSkin = (MapBorderSkin)reader.ReadRIFObject();
                    break;

                case MemberName.PageBreakLocation:
                    this.m_pageBreak = new PageBreak();
                    this.m_pageBreak.BreakLocation = (PageBreakLocation)reader.ReadEnum();
                    break;

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

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

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

                case MemberName.MaximumSpatialElementCount:
                    this.m_maximumSpatialElementCount = reader.ReadInt32();
                    break;

                case MemberName.MaximumTotalPointCount:
                    this.m_maximumTotalPointCount = reader.ReadInt32();
                    break;

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

                case MemberName.TileLanguage:
                    this.m_tileLanguage = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.PageBreak:
                    this.m_pageBreak = (PageBreak)reader.ReadRIFObject();
                    break;

                case MemberName.PageName:
                    this.m_pageName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

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

                case MemberName.GroupExpressions:
                    this.m_groupExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.GroupLabel:
                    this.m_groupLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.PageBreakLocation:
                    this.m_pageBreak = new PageBreak();
                    this.m_pageBreak.BreakLocation = (PageBreakLocation)reader.ReadEnum();
                    break;

                case MemberName.Aggregates:
                    this.m_aggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>();
                    break;

                case MemberName.GroupAndSort:
                    this.m_groupAndSort = reader.ReadBoolean();
                    break;

                case MemberName.Filters:
                    this.m_filters = reader.ReadGenericListOfRIFObjects <Filter>();
                    break;

                case MemberName.ReportItemsWithHideDuplicates:
                    this.m_reportItemsWithHideDuplicates = reader.ReadGenericListOfReferences <ReportItem>(this);
                    break;

                case MemberName.Parent:
                    this.m_parent = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.RecursiveAggregates:
                    this.m_recursiveAggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>();
                    break;

                case MemberName.PostSortAggregates:
                    this.m_postSortAggregates = reader.ReadGenericListOfRIFObjects <DataAggregateInfo>();
                    break;

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

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

                case MemberName.SaveGroupExprValues:
                    this.m_saveGroupExprValues = reader.ReadBoolean();
                    break;

                case MemberName.UserSortExpressions:
                    this.m_userSortExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.NonDetailSortFiltersInScope:
                    this.m_nonDetailSortFiltersInScope = reader.ReadInt32PrimitiveListHashtable <InScopeSortFilterHashtable, int>();
                    break;

                case MemberName.DetailSortFiltersInScope:
                    this.m_detailSortFiltersInScope = reader.ReadInt32PrimitiveListHashtable <InScopeSortFilterHashtable, int>();
                    break;

                case MemberName.Variables:
                    this.m_variables = reader.ReadGenericListOfRIFObjects <Variable>();
                    break;

                case MemberName.PageBreak:
                    this.m_pageBreak = (PageBreak)reader.ReadRIFObject();
                    break;

                case MemberName.PageName:
                    this.m_pageName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DomainScope:
                    this.m_domainScope = reader.ReadString();
                    break;

                case MemberName.ScopeIDForDomainScope:
                    this.m_scopeIDForDomainScope = reader.ReadInt32();
                    break;

                case MemberName.NaturalGroup:
                    this.m_naturalGroup = reader.ReadBoolean();
                    break;

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