Пример #1
0
 internal override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(condition: false, string.Empty);
 }
Пример #2
0
 internal override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null, "(reportExprHost != null && reportObjectModel != null)");
     m_exprHost = reportExprHost;
     ReportItemSetExprHost(m_exprHost, reportObjectModel);
 }
Пример #3
0
 internal abstract void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel);
Пример #4
0
 public override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null, "(reportExprHost != null && reportObjectModel != null)");
     this.m_exprHost = reportExprHost;
     base.ReportItemSetExprHost(this.m_exprHost, reportObjectModel);
 }
Пример #5
0
 public override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(false, string.Empty);
 }
Пример #6
0
 public override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     if (base.ExprHostID >= 0)
     {
         Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null);
         this.m_exprHost = reportExprHost.MapHostsRemotable[base.ExprHostID];
         base.ReportItemSetExprHost(this.m_exprHost, reportObjectModel);
         if (this.m_mapViewport != null && this.m_exprHost.MapViewportHost != null)
         {
             this.m_mapViewport.SetExprHost(this.m_exprHost.MapViewportHost, reportObjectModel);
         }
         IList <MapPolygonLayerExprHost> mapPolygonLayersHostsRemotable = this.m_exprHost.MapPolygonLayersHostsRemotable;
         IList <MapPointLayerExprHost>   mapPointLayersHostsRemotable   = this.m_exprHost.MapPointLayersHostsRemotable;
         IList <MapLineLayerExprHost>    mapLineLayersHostsRemotable    = this.m_exprHost.MapLineLayersHostsRemotable;
         IList <MapTileLayerExprHost>    mapTileLayersHostsRemotable    = this.m_exprHost.MapTileLayersHostsRemotable;
         if (this.m_mapLayers != null)
         {
             for (int i = 0; i < this.m_mapLayers.Count; i++)
             {
                 MapLayer mapLayer = this.m_mapLayers[i];
                 if (mapLayer != null && mapLayer.ExpressionHostID > -1)
                 {
                     if (mapLayer is MapPolygonLayer)
                     {
                         if (mapPolygonLayersHostsRemotable != null)
                         {
                             mapLayer.SetExprHost(mapPolygonLayersHostsRemotable[mapLayer.ExpressionHostID], reportObjectModel);
                         }
                     }
                     else if (mapLayer is MapPointLayer)
                     {
                         if (mapPointLayersHostsRemotable != null)
                         {
                             mapLayer.SetExprHost(mapPointLayersHostsRemotable[mapLayer.ExpressionHostID], reportObjectModel);
                         }
                     }
                     else if (mapLayer is MapLineLayer)
                     {
                         if (mapLineLayersHostsRemotable != null)
                         {
                             mapLayer.SetExprHost(mapLineLayersHostsRemotable[mapLayer.ExpressionHostID], reportObjectModel);
                         }
                     }
                     else if (mapLayer is MapTileLayer && mapTileLayersHostsRemotable != null)
                     {
                         mapLayer.SetExprHost(mapTileLayersHostsRemotable[mapLayer.ExpressionHostID], reportObjectModel);
                     }
                 }
             }
         }
         IList <MapLegendExprHost> mapLegendsHostsRemotable = this.m_exprHost.MapLegendsHostsRemotable;
         if (this.m_mapLegends != null && mapLegendsHostsRemotable != null)
         {
             for (int j = 0; j < this.m_mapLegends.Count; j++)
             {
                 MapLegend mapLegend = this.m_mapLegends[j];
                 if (mapLegend != null && mapLegend.ExpressionHostID > -1)
                 {
                     mapLegend.SetExprHost(mapLegendsHostsRemotable[mapLegend.ExpressionHostID], reportObjectModel);
                 }
             }
         }
         IList <MapTitleExprHost> mapTitlesHostsRemotable = this.m_exprHost.MapTitlesHostsRemotable;
         if (this.m_mapTitles != null && mapTitlesHostsRemotable != null)
         {
             for (int k = 0; k < this.m_mapTitles.Count; k++)
             {
                 MapTitle mapTitle = this.m_mapTitles[k];
                 if (mapTitle != null && mapTitle.ExpressionHostID > -1)
                 {
                     mapTitle.SetExprHost(mapTitlesHostsRemotable[mapTitle.ExpressionHostID], reportObjectModel);
                 }
             }
         }
         if (this.m_mapDistanceScale != null && this.m_exprHost.MapDistanceScaleHost != null)
         {
             this.m_mapDistanceScale.SetExprHost(this.m_exprHost.MapDistanceScaleHost, reportObjectModel);
         }
         if (this.m_mapColorScale != null && this.m_exprHost.MapColorScaleHost != null)
         {
             this.m_mapColorScale.SetExprHost(this.m_exprHost.MapColorScaleHost, reportObjectModel);
         }
         if (this.m_mapBorderSkin != null && this.m_exprHost.MapBorderSkinHost != null)
         {
             this.m_mapBorderSkin.SetExprHost(this.m_exprHost.MapBorderSkinHost, reportObjectModel);
         }
         if (this.m_action != null && this.m_exprHost.ActionInfoHost != null)
         {
             this.m_action.SetExprHost(this.m_exprHost.ActionInfoHost, reportObjectModel);
         }
         if (this.m_pageBreak != null && this.m_exprHost.PageBreakExprHost != null)
         {
             this.m_pageBreak.SetExprHost(this.m_exprHost.PageBreakExprHost, reportObjectModel);
         }
     }
 }
Пример #7
0
 public abstract void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel);