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

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

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

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapLineTemplate mapLineTemplate = (MapLineTemplate)base.PublishClone(context);

            if (this.m_width != null)
            {
                mapLineTemplate.m_width = (ExpressionInfo)this.m_width.PublishClone(context);
            }
            if (this.m_labelPlacement != null)
            {
                mapLineTemplate.m_labelPlacement = (ExpressionInfo)this.m_labelPlacement.PublishClone(context);
            }
            return(mapLineTemplate);
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapLine.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.UseCustomLineTemplate:
                    this.m_useCustomLineTemplate = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapLineTemplate:
                    this.m_mapLineTemplate = (MapLineTemplate)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Exemple #4
0
 public MapLineTemplate(AspNetCore.ReportingServices.ReportIntermediateFormat.MapLineTemplate defObject, MapLineLayer mapLineLayer, Map map)
     : base(defObject, mapLineLayer, map)
 {
 }