//--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // r e p o r t B o d y                                                //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Write details of response to report file.                          //
        //                                                                    //
        //--------------------------------------------------------------------//

        private static void reportBody(
            ReportCore.eRptFileFmt rptFileFmt,
            Object writer,
            TextBox txtReply)
        {
            const Int32 maxLineLen = 127;

            Int32 ct;

            ReportCore.lineBlockOpen(writer, rptFileFmt);

            ct = txtReply.LineCount;

            for (Int32 i = 0; i < ct; i++)
            {
                String line = txtReply.GetLineText(i);

                String removedCC = line.Replace("\r\n", "")     // not "<CR><LF>")
                                   .Replace("\n", "")           // not "<LF>")
                                   .Replace("\r", "")           // not "<CR>")
                                   .Replace("\f", "<FF>")
                                   .Replace("\x1b", "<Esc>");

                ReportCore.lineItem(writer, rptFileFmt, removedCC, maxLineLen,
                                    false);
            }

            ReportCore.lineBlockClose(writer, rptFileFmt);
        }