Esempio n. 1
0
        public override void Render(ReportPageEventArgs rpea)
        {
            string toPrint = CheckForNullValue();

            base.Text = StandardFormatter.FormatOutput(toPrint, this.FormatString, base.DataType, this.NullValue);
            base.Render(rpea);
        }
Esempio n. 2
0
        public new IBaseExportColumn CreateExportColumn()
        {
            TextStyleDecorator st   = base.CreateItemStyle();
            ExportText         item = new ExportText(st);

            item.Text = StandardFormatter.FormatOutput(DBValue, this.FormatString, base.DataType, this.NullValue);
            return(item);
        }
Esempio n. 3
0
        public new BaseExportColumn CreateExportColumn()
        {
            string             toPrint = CheckForNullValue();
            TextStyleDecorator st      = base.CreateItemStyle();
            ExportText         item    = new ExportText(st, false);

            item.Text = StandardFormatter.FormatOutput(toPrint, this.FormatString, base.DataType, this.NullValue);

            return(item);
        }
Esempio n. 4
0
        public override void Render(ReportPageEventArgs rpea)
        {
            if (rpea == null)
            {
                throw new ArgumentNullException("rpea");
            }

            base.Render(rpea);
            base.FillBackground(rpea.PrintPageEventArgs.Graphics);
            //Border b = new Border(new BaseLine (this.ForeColor,System.Drawing.Drawing2D.DashStyle.Solid,1));
            Border b = new Border(new BaseLine(this.FrameColor, System.Drawing.Drawing2D.DashStyle.Solid, 1));

            base.DrawFrame(rpea.PrintPageEventArgs.Graphics, b);

            string formated = StandardFormatter.FormatOutput(this.text, this.FormatString, this.DataType, String.Empty);

            Print(rpea, formated, base.DrawingRectangle);
            base.NotifyAfterPrint(rpea.LocationAfterDraw);
        }
Esempio n. 5
0
        public override void Render(ReportPageEventArgs rpea)
        {
            if (rpea == null)
            {
                throw new ArgumentNullException("rpea");
            }

            base.Render(rpea);

            StandardPrinter.FillBackground(rpea.PrintPageEventArgs.Graphics, this.BaseStyleDecorator);

            StandardPrinter.DrawBorder(rpea.PrintPageEventArgs.Graphics, this.BaseStyleDecorator);

            string formated = StandardFormatter.FormatOutput(this.text, this.FormatString, this.DataType, String.Empty);

            Print(rpea, formated, base.DisplayRectangle);

            base.NotifyAfterPrint(rpea.LocationAfterDraw);
        }
Esempio n. 6
0
 public override void Render(ReportPageEventArgs rpea)
 {
     base.Text = StandardFormatter.FormatOutput(DBValue, this.FormatString, base.DataType, this.NullValue);
     base.Render(rpea);
 }