public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapLineTemplate:
                    m_mapLineTemplate = (MapLineTemplate)reader.ReadRIFObject();
                    break;

                case MemberName.MapLineRules:
                    m_mapLineRules = (MapLineRules)reader.ReadRIFObject();
                    break;

                case MemberName.MapLines:
                    m_mapLines = reader.ReadGenericListOfRIFObjects <MapLine>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
示例#2
0
        internal object PublishClone(AutomaticSubtotalContext context)
        {
            MapLineRules mapLineRules = (MapLineRules)MemberwiseClone();

            mapLineRules.m_map = context.CurrentMapClone;
            if (m_mapSizeRule != null)
            {
                mapLineRules.m_mapSizeRule = (MapSizeRule)m_mapSizeRule.PublishClone(context);
            }
            if (m_mapColorRule != null)
            {
                mapLineRules.m_mapColorRule = (MapColorRule)m_mapColorRule.PublishClone(context);
            }
            return(mapLineRules);
        }
示例#3
0
 internal MapLineRules(Microsoft.ReportingServices.ReportIntermediateFormat.MapLineRules defObject, MapLineLayer mapLineLayer, Map map)
 {
     m_defObject    = defObject;
     m_mapLineLayer = mapLineLayer;
     m_map          = map;
 }