Example #1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            MapGridLines mapGridLines = (MapGridLines)base.PublishClone(context);

            if (m_hidden != null)
            {
                mapGridLines.m_hidden = (ExpressionInfo)m_hidden.PublishClone(context);
            }
            if (m_interval != null)
            {
                mapGridLines.m_interval = (ExpressionInfo)m_interval.PublishClone(context);
            }
            if (m_showLabels != null)
            {
                mapGridLines.m_showLabels = (ExpressionInfo)m_showLabels.PublishClone(context);
            }
            if (m_labelPosition != null)
            {
                mapGridLines.m_labelPosition = (ExpressionInfo)m_labelPosition.PublishClone(context);
            }
            return(mapGridLines);
        }
 internal MapGridLines(Microsoft.ReportingServices.ReportIntermediateFormat.MapGridLines defObject, Map map)
 {
     m_defObject = defObject;
     m_map       = map;
 }
Example #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapCoordinateSystem:
                    m_mapCoordinateSystem = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapProjection:
                    m_mapProjection = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ProjectionCenterX:
                    m_projectionCenterX = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ProjectionCenterY:
                    m_projectionCenterY = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapLimits:
                    m_mapLimits = (MapLimits)reader.ReadRIFObject();
                    break;

                case MemberName.MapView:
                    m_mapView = (MapView)reader.ReadRIFObject();
                    break;

                case MemberName.MaximumZoom:
                    m_maximumZoom = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MinimumZoom:
                    m_minimumZoom = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ContentMargin:
                    m_contentMargin = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapMeridians:
                    m_mapMeridians = (MapGridLines)reader.ReadRIFObject();
                    break;

                case MemberName.MapParallels:
                    m_mapParallels = (MapGridLines)reader.ReadRIFObject();
                    break;

                case MemberName.GridUnderContent:
                    m_gridUnderContent = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SimplificationResolution:
                    m_simplificationResolution = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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