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;
                }
            }
        }
Example #2
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            MapLineTemplate mapLineTemplate = (MapLineTemplate)base.PublishClone(context);

            if (m_width != null)
            {
                mapLineTemplate.m_width = (ExpressionInfo)m_width.PublishClone(context);
            }
            if (m_labelPlacement != null)
            {
                mapLineTemplate.m_labelPlacement = (ExpressionInfo)m_labelPlacement.PublishClone(context);
            }
            return(mapLineTemplate);
        }
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.UseCustomLineTemplate:
                    m_useCustomLineTemplate = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
 internal MapLineTemplate(Microsoft.ReportingServices.ReportIntermediateFormat.MapLineTemplate defObject, MapLineLayer mapLineLayer, Map map)
     : base(defObject, mapLineLayer, map)
 {
 }