public override object PublishClone(AutomaticSubtotalContext context)
        {
            ChartLegendTitle chartLegendTitle = (ChartLegendTitle)base.PublishClone(context);

            if (this.m_titleSeparator != null)
            {
                chartLegendTitle.m_titleSeparator = (ExpressionInfo)this.m_titleSeparator.PublishClone(context);
            }
            return(chartLegendTitle);
        }
 public ChartLegendTitle(AspNetCore.ReportingServices.ReportIntermediateFormat.ChartLegendTitle chartLegendTitleDef, Chart chart)
 {
     this.m_chartLegendTitleDef = chartLegendTitleDef;
     this.m_chart = chart;
 }
예제 #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartLegend.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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