Article View: comp.os.ms-windows.programmer.graphics
Article #8Re: Rich-Text
From: Paul Crowley
Date: Sat, 11 Nov 1995 18:33
Date: Sat, 11 Nov 1995 18:33
37 lines
1906 bytes
1906 bytes
karcsi@ludens.elte.hu (Meszaros Karoly, ELTE. Bp.) wrote: >I am finding a converter in C/C++ source code: RTF -> DOC. >And I'm looking for a RTF-reader programm (source). >If there are any web sites or ftp server have good information, >I would be interested in looking at these as well. >Can you help me? >Please respond by e-mail. >Thank you in advance. > Karoly Meszaros > Eotvos Lorand University of Sciences, Hungary > karesz@augusta.inf.elte.hu, karcsi@ludens.elte.hu >ps.: sorry, I'm a newbie in English language... On the MSDN CD there is a rather lengthy definition of RTF and a sample parser for it. This will read RTF and there is enough of a skeleton for you to put whatever code you want in around it. As far as converting RTF to DOC (?), I assume you want to end up with a Word for Windows file. I'm not sure the Word for Windows file format is documented anywhere, so I think the only converter is the one that comes with Word for Windows. Since the interface to it isn't defined, you probably will end up just calling Word for Windows anyway. It would be possible to write a macro which starts up, opens an RTF file, converts it to a Word document format, saves it, and then either quits or moves on to the next input file. ---------------------------------------------------- pcrowley@mcs.com (Paul Crowley) If I had an opinion, it would be mine alone. ----------------------------------------------------
Technical Details
Message-ID:
<482qcf$2t9@News1.mcs.net>Path:
arc1-ca.pugleaf.net!news.mcs.net!usenetReferences:
<1995Nov9.164949.19875@ludens>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.mcs.net!usenet From: pcrowley@mcs.com (Paul Crowley) Newsgroups: comp.os.ms-windows.programmer.graphics,comp.lang.c,comp.lang.c++ Subject: Re: Rich-Text Date: Sat, 11 Nov 1995 18:33:55 GMT Organization: MCSNet Internet Services Message-ID: <482qcf$2t9@News1.mcs.net> References: <1995Nov9.164949.19875@ludens> NNTP-Posting-Host: pcrowley.pr.mcs.net X-Newsreader: Forte Free Agent 1.0.82