internal override object PublishClone(AutomaticSubtotalContext context) { ChartLegendColumn chartLegendColumn = (ChartLegendColumn)base.PublishClone(context); if (m_action != null) { chartLegendColumn.m_action = (Action)m_action.PublishClone(context); } if (m_columnType != null) { chartLegendColumn.m_columnType = (ExpressionInfo)m_columnType.PublishClone(context); } if (m_value != null) { chartLegendColumn.m_value = (ExpressionInfo)m_value.PublishClone(context); } if (m_toolTip != null) { chartLegendColumn.m_toolTip = (ExpressionInfo)m_toolTip.PublishClone(context); } if (m_minimumWidth != null) { chartLegendColumn.m_minimumWidth = (ExpressionInfo)m_minimumWidth.PublishClone(context); } if (m_maximumWidth != null) { chartLegendColumn.m_maximumWidth = (ExpressionInfo)m_maximumWidth.PublishClone(context); } if (m_seriesSymbolWidth != null) { chartLegendColumn.m_seriesSymbolWidth = (ExpressionInfo)m_seriesSymbolWidth.PublishClone(context); } if (m_seriesSymbolHeight != null) { chartLegendColumn.m_seriesSymbolHeight = (ExpressionInfo)m_seriesSymbolHeight.PublishClone(context); } if (m_header != null) { chartLegendColumn.m_header = (ChartLegendColumnHeader)m_header.PublishClone(context); } return(chartLegendColumn); }
internal void SetExprHost(ChartLegendExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); base.SetExprHost(exprHost, reportObjectModel); m_exprHost = exprHost; if (m_chartLegendTitle != null && exprHost.TitleExprHost != null) { m_chartLegendTitle.SetExprHost(exprHost.TitleExprHost, reportObjectModel); } IList <ChartLegendCustomItemExprHost> chartLegendCustomItemsHostsRemotable = m_exprHost.ChartLegendCustomItemsHostsRemotable; if (m_chartLegendCustomItems != null && chartLegendCustomItemsHostsRemotable != null) { for (int i = 0; i < m_chartLegendCustomItems.Count; i++) { ChartLegendCustomItem chartLegendCustomItem = m_chartLegendCustomItems[i]; if (chartLegendCustomItem != null && chartLegendCustomItem.ExpressionHostID > -1) { chartLegendCustomItem.SetExprHost(chartLegendCustomItemsHostsRemotable[chartLegendCustomItem.ExpressionHostID], reportObjectModel); } } } IList <ChartLegendColumnExprHost> chartLegendColumnsHostsRemotable = m_exprHost.ChartLegendColumnsHostsRemotable; if (m_chartLegendColumns != null && chartLegendColumnsHostsRemotable != null) { for (int j = 0; j < m_chartLegendColumns.Count; j++) { ChartLegendColumn chartLegendColumn = m_chartLegendColumns[j]; if (chartLegendColumn != null && chartLegendColumn.ExpressionHostID > -1) { chartLegendColumn.SetExprHost(chartLegendColumnsHostsRemotable[chartLegendColumn.ExpressionHostID], reportObjectModel); } } } if (m_chartElementPosition != null && m_exprHost.ChartElementPositionHost != null) { m_chartElementPosition.SetExprHost(m_exprHost.ChartElementPositionHost, reportObjectModel); } }
internal ChartLegendColumn(Microsoft.ReportingServices.ReportIntermediateFormat.ChartLegendColumn chartLegendColumnDef, Chart chart) { m_chartLegendColumnDef = chartLegendColumnDef; m_chart = chart; }