internal override object PublishClone(AutomaticSubtotalContext context)
		{
			ChartLegendTitle chartLegendTitle = (ChartLegendTitle)base.PublishClone(context);
			if (m_titleSeparator != null)
			{
				chartLegendTitle.m_titleSeparator = (ExpressionInfo)m_titleSeparator.PublishClone(context);
			}
			return chartLegendTitle;
		}
 internal ChartLegendTitle(Microsoft.ReportingServices.ReportIntermediateFormat.ChartLegendTitle chartLegendTitleDef, Chart chart)
 {
     m_chartLegendTitleDef = chartLegendTitleDef;
     m_chart = chart;
 }
Пример #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case MemberName.Hidden:
                    m_hidden = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Position:
                    m_position = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Layout:
                    m_layout = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DockToChartArea:
                    m_dockToChartArea = reader.ReadString();
                    break;

                case MemberName.DockOutsideChartArea:
                    m_dockOutsideChartArea = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartLegendTitle:
                    m_chartLegendTitle = (ChartLegendTitle)reader.ReadRIFObject();
                    break;

                case MemberName.AutoFitTextDisabled:
                    m_autoFitTextDisabled = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MinFontSize:
                    m_minFontSize = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.HeaderSeparator:
                    m_headerSeparator = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.HeaderSeparatorColor:
                    m_headerSeparatorColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnSeparator:
                    m_columnSeparator = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnSeparatorColor:
                    m_columnSeparatorColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnSpacing:
                    m_columnSpacing = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.InterlacedRows:
                    m_interlacedRows = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.InterlacedRowsColor:
                    m_interlacedRowsColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.EquallySpacedItems:
                    m_equallySpacedItems = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Reversed:
                    m_reversed = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MaxAutoSize:
                    m_maxAutoSize = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TextWrapThreshold:
                    m_textWrapThreshold = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ExprHostID:
                    m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.ChartLegendCustomItems:
                    m_chartLegendCustomItems = reader.ReadGenericListOfRIFObjects <ChartLegendCustomItem>();
                    break;

                case MemberName.ChartLegendColumns:
                    m_chartLegendColumns = reader.ReadGenericListOfRIFObjects <ChartLegendColumn>();
                    break;

                case MemberName.ChartElementPosition:
                    m_chartElementPosition = (ChartElementPosition)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }