예제 #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);
 }
 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);
 }
 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);
 }
 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);
         }
     }
 }
 public override void Initialize()
 {
     base.Initialize();
     this.ResizeMode = MapResizeModes.AutoFit;
 }