🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14885

Re: RTF to plain text

#14885
From: Giuliano
Date: Tue, 29 Jul 2003 18:36
34 lines
2102 bytes
On Tue, 29 Jul 2003 19:49:41 +0200, Hans Galema
<j.m.galema.dontusethis@maartens.nl> wrote:

>Giuliano wrote:
>
>>     have a look at this sources: they seems to be very interesting.
>> 
>> http://www.fiction.net/blong/programs/#rtf
>> 
>> I've tried to compile them with BCB (a c++ console app) then I've passed a rtf
>> file (created with windows' write): the program seems has converted the text
>> pretty well.
>
>ms-rtf.tar.gz contains four files which I used in a VCL prokect.
>
>Unit1.cpp:
>#include "rtfreadr.c"  // does #include "rtfdecl.h"  #include "rtftype.h"
>#include "rtfactn.c"   // does #include "rtfdecl.h"  #include "rtftype.h"
>
>Had to make some minor changes to the four files before it compiled in bcb3;
>
>I see no function that converts a rtf to txt.
>
>Only main() checks the validity of a rtf file.
>
>Am I missing something ?
>

Hi Hans,

Uhm, I've only used the standard output. It gave me back
plain text. I haven't watched the sources.

Giuliano
Technical Details
Message-ID: <gffdivse9u3rmplsdepbce3rhpbckusb2o@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!newsfeed.online.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f263c4b@newsgroups.borland.com> <p1kcivopj4v8cpt0481cfrra17utffu44h@4ax.com> <3f26b371$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2d859c765139b26e
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-29 11:40:41 PST
From: Giuliano <gcardinali@remove.adhoc.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: RTF to plain text
Date: Tue, 29 Jul 2003 20:36:36 +0200
Message-ID: <gffdivse9u3rmplsdepbce3rhpbckusb2o@4ax.com>
References: <3f263c4b@newsgroups.borland.com> <p1kcivopj4v8cpt0481cfrra17utffu44h@4ax.com> <3f26b371$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.72.236.130
X-Trace: newsgroups.borland.com 1059503795 81.72.236.130 (29 Jul 2003 11:36:35 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!newsfeed.online.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail