Ejemplo n.º 1
0
        public object PublishClone(AutomaticSubtotalContext context)
        {
            ChartElementPosition chartElementPosition = (ChartElementPosition)base.MemberwiseClone();

            chartElementPosition.m_chart = (Chart)context.CurrentDataRegionClone;
            if (this.m_top != null)
            {
                chartElementPosition.m_top = (ExpressionInfo)this.m_top.PublishClone(context);
            }
            if (this.m_left != null)
            {
                chartElementPosition.m_left = (ExpressionInfo)this.m_left.PublishClone(context);
            }
            if (this.m_height != null)
            {
                chartElementPosition.m_height = (ExpressionInfo)this.m_height.PublishClone(context);
            }
            if (this.m_width != null)
            {
                chartElementPosition.m_width = (ExpressionInfo)this.m_width.PublishClone(context);
            }
            return(chartElementPosition);
        }
Ejemplo n.º 2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartArea.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

                case MemberName.CategoryAxes:
                    this.m_categoryAxes = reader.ReadGenericListOfRIFObjects <ChartAxis>();
                    break;

                case MemberName.ValueAxes:
                    this.m_valueAxes = reader.ReadGenericListOfRIFObjects <ChartAxis>();
                    break;

                case MemberName.ThreeDProperties:
                    this.m_3dProperties = (ChartThreeDProperties)reader.ReadRIFObject();
                    break;

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

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

                case MemberName.AlignOrientation:
                    this.m_alignOrientation = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartAlignType:
                    this.m_chartAlignType = (ChartAlignType)reader.ReadRIFObject();
                    break;

                case MemberName.AlignWithChartArea:
                    this.m_alignWithChartArea = reader.ReadString();
                    break;

                case MemberName.EquallySizedAxesFont:
                    this.m_equallySizedAxesFont = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

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

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Ejemplo n.º 3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartTitle.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

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

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

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

                case MemberName.Docking:
                    this.m_docking = (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.DockOffset:
                    this.m_dockOffset = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.Action:
                    this.m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.TextOrientation:
                    this.m_textOrientation = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Ejemplo n.º 4
0
 public ChartElementPosition(AspNetCore.ReportingServices.ReportIntermediateFormat.ChartElementPosition defObject, Chart chart)
 {
     this.m_defObject = defObject;
     this.m_chart     = chart;
 }
Ejemplo n.º 5
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;
                }
            }
        }