예제 #1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            MapBorderSkin mapBorderSkin = (MapBorderSkin)base.PublishClone(context);

            if (m_mapBorderSkinType != null)
            {
                mapBorderSkin.m_mapBorderSkinType = (ExpressionInfo)m_mapBorderSkinType.PublishClone(context);
            }
            return(mapBorderSkin);
        }
예제 #2
0
 internal MapBorderSkin(Microsoft.ReportingServices.ReportIntermediateFormat.MapBorderSkin defObject, Map map)
 {
     m_defObject = defObject;
     m_map       = map;
 }
예제 #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapDataRegions:
                    m_mapDataRegions = reader.ReadGenericListOfRIFObjects <MapDataRegion>();
                    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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