Article View: borland.public.cppbuilder.nativeapi
Article #14870Re: RTF to plain text
From: Hans Galema
Date: Tue, 29 Jul 2003 13:31
Date: Tue, 29 Jul 2003 13:31
17 lines
1559 bytes
1559 bytes
Dmitry Mikhilov wrote: > Dynamic creation of "fake" TRichEdit component, filling it with incoming RTF > stream, removing the formatting and saving the result came to my mind > first, by seemed to be a little bit non-elegant... The only thing you have to do is load the file in a TRichEdit, then set RichEdit1->PlainText to true and then call RichEdit1->Lines->SaveToFile ( ... ); And you're done. Very elegant. Hans.
Technical Details
Message-ID:
<3f2676e3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f263c4b@newsgroups.borland.com> <3f26442d$1@newsgroups.borland.com> <3f264bed@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 06:35:38 PST Date: Tue, 29 Jul 2003 15:31:18 +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> <3f26442d$1@newsgroups.borland.com> <3f264bed@newsgroups.borland.com> In-Reply-To: <3f264bed@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.108.11 Message-ID: <3f2676e3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059485411 129.125.108.11 (29 Jul 2003 06:30:11 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail