Article View: borland.public.cppbuilder.nativeapi
Article #14882Re: RTF to plain text
From: Hans Galema
Date: Tue, 29 Jul 2003 17:49
Date: Tue, 29 Jul 2003 17:49
25 lines
2011 bytes
2011 bytes
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 ? Hans,
Technical Details
Message-ID:
<3f26b371$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!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-mailReferences:
<3f263c4b@newsgroups.borland.com> <p1kcivopj4v8cpt0481cfrra17utffu44h@4ax.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:11:02 PST Date: Tue, 29 Jul 2003 19:49:41 +0200 From: Hans Galema <j.m.galema.dontusethis@maartens.nl> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: RTF to plain text References: <3f263c4b@newsgroups.borland.com> <p1kcivopj4v8cpt0481cfrra17utffu44h@4ax.com> In-Reply-To: <p1kcivopj4v8cpt0481cfrra17utffu44h@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.108.11 Message-ID: <3f26b371$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059500913 129.125.108.11 (29 Jul 2003 10:48:33 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!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