internal override object PublishClone(AutomaticSubtotalContext context)
        {
            ChartBorderSkin chartBorderSkin = (ChartBorderSkin)base.PublishClone(context);

            if (m_borderSkinType != null)
            {
                chartBorderSkin.m_borderSkinType = (ExpressionInfo)m_borderSkinType.PublishClone(context);
            }
            return(chartBorderSkin);
        }
Exemplo n.º 2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.CategoryMembers:
                    m_categoryMembers = reader.ReadListOfRIFObjects <ChartMemberList>();
                    break;

                case MemberName.SeriesMembers:
                    m_seriesMembers = reader.ReadListOfRIFObjects <ChartMemberList>();
                    break;

                case MemberName.ChartSeriesCollection:
                    m_chartSeriesCollection = reader.ReadListOfRIFObjects <ChartSeriesList>();
                    break;

                case MemberName.ChartDerivedSeriesCollection:
                    m_chartDerivedSeriesCollection = reader.ReadGenericListOfRIFObjects <ChartDerivedSeries>();
                    break;

                case MemberName.Palette:
                    m_palette = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartLegends:
                    m_legends = reader.ReadGenericListOfRIFObjects <ChartLegend>();
                    break;

                case MemberName.ChartAreas:
                    m_chartAreas = reader.ReadGenericListOfRIFObjects <ChartArea>();
                    break;

                case MemberName.Titles:
                    m_titles = reader.ReadGenericListOfRIFObjects <ChartTitle>();
                    break;

                case MemberName.DynamicHeight:
                    m_dynamicHeight = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DynamicWidth:
                    m_dynamicWidth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CodeParameters:
                    m_codeParameters = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

                case MemberName.CustomPaletteColors:
                    m_customPaletteColors = reader.ReadGenericListOfRIFObjects <ChartCustomPaletteColor>();
                    break;

                case MemberName.NoDataMessage:
                    m_noDataMessage = (ChartNoDataMessage)reader.ReadRIFObject();
                    break;

                case MemberName.BorderSkin:
                    m_borderSkin = (ChartBorderSkin)reader.ReadRIFObject();
                    break;

                case MemberName.DataValueSequenceRendering:
                    m_dataValueSequenceRendering = reader.ReadBoolean();
                    break;

                case MemberName.PaletteHatchBehavior:
                    m_paletteHatchBehavior = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnGroupingIsSwitched:
                    m_columnGroupingIsSwitched = reader.ReadBoolean();
                    break;

                case MemberName.EnableCategoryDrilldown:
                    m_enableCategoryDrilldown = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Exemplo n.º 3
0
 internal ChartBorderSkin(Microsoft.ReportingServices.ReportIntermediateFormat.ChartBorderSkin chartBorderSkinDef, Chart chart)
 {
     m_chartBorderSkinDef = chartBorderSkinDef;
     m_chart = chart;
 }