Example #1
0
        TextWriter tw; // where the output is going

        #endregion Fields

        #region Constructors

        public RenderXml(Report rep, IStreamGen sg)
        {
            r = rep;
            tw = sg.GetTextWriter();
            stkReportItem = new Stack();
            stkContainers = new Stack();
        }
Example #2
0
 public RenderXml(Report rep, IStreamGen sg)
 {
     r             = rep;
     tw            = sg.GetTextWriter();
     stkReportItem = new Stack();
     stkContainers = new Stack();
 }
Example #3
0
        public void End()
        {
            TextWriter ftw = _sg.GetTextWriter(); // the final text writer location

            ftw.Write(@"{\rtf1\ansi");            // start of the rtf file

            // information group
            PutInformationGroup(ftw);

            // page metrics
            PutPageMetrics(ftw);

            // do the font table
            PutFontTable(ftw);

            // do the color table
            PutColorTable(ftw);

            // write out the body of the rtf file
            ftw.Write(tw.ToString());
            tw.Close();
            tw = null;

            ftw.WriteLine(@"}");            // end of the rtf file

            if (_g != null)
            {
                _g.Dispose();
                _g = null;
            }
            if (_bm != null)
            {
                _bm.Dispose();
                _bm = null;
            }
            return;
        }
Example #4
0
        DelimitedTextWriter tw;                         // where the output is going

        public RenderCsv(Report report, IStreamGen sg)
        {
            this.report = report;
            tw          = new DelimitedTextWriter(sg.GetTextWriter(), ",");
        }
 public RenderDMP(Report rep, IStreamGen sg)
 {
     r  = rep;
     tw = new DMPTextWriter(sg.GetTextWriter(), "");
 }
Example #6
0
        DelimitedTextWriter tw; // where the output is going

        #endregion Fields

        #region Constructors

        public RenderCsv(Report report, IStreamGen sg)
        {
            this.report = report;
            tw = new DelimitedTextWriter(sg.GetTextWriter(), ",");
        }
 public RenderDotMatrix(Report report, IStreamGen sg)
 {
     this.r = report;
     tw     = sg.GetTextWriter();
 }