Beispiel #1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            ChartLegendColumnHeader chartLegendColumnHeader = (ChartLegendColumnHeader)base.PublishClone(context);

            if (m_value != null)
            {
                chartLegendColumnHeader.m_value = (ExpressionInfo)m_value.PublishClone(context);
            }
            return(chartLegendColumnHeader);
        }
        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.Action:
                    m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnType:
                    m_columnType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Value:
                    m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ToolTip:
                    m_toolTip = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MinimumWidth:
                    m_minimumWidth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MaximumWidth:
                    m_maximumWidth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SeriesSymbolWidth:
                    m_seriesSymbolWidth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SeriesSymbolHeight:
                    m_seriesSymbolHeight = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Header:
                    m_header = (ChartLegendColumnHeader)reader.ReadRIFObject();
                    break;

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

                case MemberName.ID:
                    m_id = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Beispiel #3
0
 internal ChartLegendColumnHeader(Microsoft.ReportingServices.ReportIntermediateFormat.ChartLegendColumnHeader chartLegendColumnHeaderDef, Chart chart)
 {
     m_chartLegendColumnHeaderDef = chartLegendColumnHeaderDef;
     m_chart = chart;
 }