Exemplo n.º 1
0
        internal override void SetExprHostMapMember(MapVectorLayerExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            base.SetExprHostMapMember(exprHost, reportObjectModel);
            if (m_mapLineRules != null && ExprHostMapMember.MapLineRulesHost != null)
            {
                m_mapLineRules.SetExprHostMapMember(ExprHostMapMember.MapLineRulesHost, reportObjectModel);
            }
            if (base.MapDataRegionName == null)
            {
                return;
            }
            if (m_mapLineTemplate != null && ExprHostMapMember.MapLineTemplateHost != null)
            {
                m_mapLineTemplate.SetExprHost(ExprHostMapMember.MapLineTemplateHost, reportObjectModel);
            }
            IList <MapLineExprHost> mapLinesHostsRemotable = ExprHostMapMember.MapLinesHostsRemotable;

            if (m_mapLines == null || mapLinesHostsRemotable == null)
            {
                return;
            }
            for (int i = 0; i < m_mapLines.Count; i++)
            {
                MapLine mapLine = m_mapLines[i];
                if (mapLine != null && mapLine.ExpressionHostID > -1)
                {
                    mapLine.SetExprHost(mapLinesHostsRemotable[mapLine.ExpressionHostID], reportObjectModel);
                }
            }
        }
Exemplo n.º 2
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            MapLine mapLine = (MapLine)base.PublishClone(context);

            if (m_useCustomLineTemplate != null)
            {
                mapLine.m_useCustomLineTemplate = (ExpressionInfo)m_useCustomLineTemplate.PublishClone(context);
            }
            if (m_mapLineTemplate != null)
            {
                mapLine.m_mapLineTemplate = (MapLineTemplate)m_mapLineTemplate.PublishClone(context);
            }
            return(mapLine);
        }
Exemplo n.º 3
0
 internal MapLine(Microsoft.ReportingServices.ReportIntermediateFormat.MapLine defObject, MapLineLayer mapVectorLayer, Map map)
     : base(defObject, mapVectorLayer, map)
 {
 }