🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: RTF to plain text

#14883
From: Dmitry Mikhilov
Date: Tue, 29 Jul 2003 18:24
36 lines
2021 bytes
The function ecPrintChar(int ch) outputs each extracted plain text
character.

Dmitry

"Hans Galema" <j.m.galema.dontusethis@maartens.nl> wrote:
news:3f26b371$1@newsgroups.borland.com...
> 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: <3f26bb7f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!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: "Dmitry Mikhilov" <dm1@fromru.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f263c4b@newsgroups.borland.com> <p1kcivopj4v8cpt0481cfrra17utffu44h@4ax.com> <3f26b371$1@newsgroups.borland.com>
Subject: Re: RTF to plain text
Date: Tue, 29 Jul 2003 22:24:33 +0400
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 195.242.19.239
Message-ID: <3f26bb7f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059502975 195.242.19.239 (29 Jul 2003 11:22:55 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail