コード例 #1
0
 public override void Initialize()
 {
     base.Initialize();
     this.StartColor  = new ReportExpression <ReportColor>("Green", CultureInfo.InvariantCulture);
     this.MiddleColor = new ReportExpression <ReportColor>("Yellow", CultureInfo.InvariantCulture);
     this.EndColor    = new ReportExpression <ReportColor>("Red", CultureInfo.InvariantCulture);
 }
コード例 #2
0
 public void Validate(object component, ReportExpression <T> value)
 {
     if (!value.IsExpression)
     {
         this.Validate(component, value.Value);
     }
 }
コード例 #3
0
        private bool CommandTextEquivalent(ReportExpression first, ReportExpression second)
        {
            string a = this.FixCommandText(first.ToString());
            string b = this.FixCommandText(second.ToString());

            return(a == b);
        }
コード例 #4
0
 public override void Initialize()
 {
     base.Initialize();
     this.Layout              = MapLegendLayouts.AutoTable;
     this.MinFontSize         = new ReportExpression <ReportSize>("7pt", CultureInfo.InvariantCulture);
     this.InterlacedRowsColor = new ReportExpression <ReportColor>("LightGray", CultureInfo.InvariantCulture);
     this.TextWrapThreshold   = 25;
 }
コード例 #5
0
 public override void Initialize()
 {
     base.Initialize();
     this.VisibilityMode = MapVisibilityModes.Visible;
     this.MinimumZoom    = 50.0;
     this.MaximumZoom    = 200.0;
     this.Transparency   = 0.0;
 }
コード例 #6
0
 public override void Initialize()
 {
     base.Initialize();
     this.GaugePointers   = new RdlCollection <GaugePointer>();
     this.ScaleRanges     = new RdlCollection <ScaleRange>();
     this.CustomLabels    = new RdlCollection <CustomLabel>();
     this.LogarithmicBase = 10.0;
     this.Multiplier      = 1.0;
     this.Width           = 5.0;
 }
コード例 #7
0
 public override void Initialize()
 {
     base.Initialize();
     this.ChartLegendColumns = new RdlCollection <ChartLegendColumn>();
     this.Position           = ChartPositions.RightTop;
     this.Layout             = ChartLegendLayouts.AutoTable;
     this.ColumnSpacing      = 50;
     this.MaxAutoSize        = 50;
     this.TextWrapThreshold  = 25;
 }
コード例 #8
0
        void IXmlSerializable.ReadXml(XmlReader reader)
        {
            string attribute = reader.GetAttribute("DataType");

            if (attribute != null)
            {
                this.DataType = (DataTypes)ReportExpression.ParseEnum(typeof(DataTypes), attribute);
            }
            string attribute2 = reader.GetAttribute("EvaluationMode");

            if (attribute2 != null)
            {
                this.EvaluationMode = (EvaluationMode)ReportExpression.ParseEnum(typeof(EvaluationMode), attribute2);
            }
            this.m_value = reader.ReadString();
            reader.Skip();
        }
コード例 #9
0
 public override bool Equals(object value)
 {
     if (value is ReportExpression)
     {
         ReportExpression reportExpression = (ReportExpression)value;
         if (this.Value == reportExpression.Value && this.IsExpression == reportExpression.IsExpression)
         {
             return(this.DataType == reportExpression.DataType);
         }
         return(false);
     }
     if (value is string)
     {
         return(this.Equals(new ReportExpression(((string)value) ?? "")));
     }
     if (value == null)
     {
         return(this.Value == "");
     }
     return(false);
 }
コード例 #10
0
 public override void Initialize()
 {
     base.Initialize();
     this.SeriesSymbolWidth  = 200;
     this.SeriesSymbolHeight = 70;
 }
コード例 #11
0
 public override void Initialize()
 {
     base.Initialize();
     this.Color = Constants.DefaultEmptyColor;
     this.Style = BorderStyles.Solid;
 }
コード例 #12
0
 public override void Initialize()
 {
     base.Initialize();
     this.Width          = new ReportExpression <ReportSize>("3.75pt", CultureInfo.InvariantCulture);
     this.LabelPlacement = MapLineLabelPlacements.Above;
 }
コード例 #13
0
 public override void Initialize()
 {
     base.Initialize();
     this.Color = Constants.DefaultEmptyColor;
 }
コード例 #14
0
 public override void Initialize()
 {
     base.Initialize();
     this.ScaleColor       = new ReportExpression <ReportColor>("White", CultureInfo.InvariantCulture);
     this.ScaleBorderColor = new ReportExpression <ReportColor>("DarkGray", CultureInfo.InvariantCulture);
 }
コード例 #15
0
 public override void Initialize()
 {
     base.Initialize();
     this.TitleSeparator      = MapLegendTitleSeparators.None;
     this.TitleSeparatorColor = new ReportExpression <ReportColor>("Gray", CultureInfo.InvariantCulture);
 }
コード例 #16
0
 public override void Initialize()
 {
     base.Initialize();
     this.Size           = new ReportExpression <ReportSize>("5.25pt", CultureInfo.InvariantCulture);
     this.LabelPlacement = MapPointLabelPlacements.Bottom;
 }
コード例 #17
0
 public static void GetEmbeddedImgDependencies(Report report, ICollection <ReportObject> dependencies, SourceType imageSource, ReportExpression imageValue)
 {
     if (report != null && dependencies != null && !string.IsNullOrEmpty(imageValue.Expression) && imageSource == SourceType.Embedded && !imageValue.IsExpression)
     {
         EmbeddedImage embeddedImageByName = report.GetEmbeddedImageByName(imageValue.Expression);
         if (embeddedImageByName != null && !dependencies.Contains(embeddedImageByName))
         {
             dependencies.Add(embeddedImageByName);
         }
     }
 }
コード例 #18
0
 public override void Initialize()
 {
     base.Initialize();
     this.ResizeMode = MapResizeModes.AutoFit;
 }