New topic: rtfd Files
<http://forums.realsoftware.com/viewtopic.php?t=43887> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message dennisl Post subject: rtfd FilesPosted: Sat May 05, 2012 7:34 am Joined: Tue Aug 03, 2010 12:38 pm Posts: 41 Hi - I would like to read an rtfd file line by line, discard the format information and retrieve just the text as a text string. Could anyone suggest the most appropriate way to do this? Many thanks Top DaveS Post subject: Re: rtfd FilesPosted: Sat May 05, 2012 8:55 am Joined: Sun Aug 05, 2007 10:46 am Posts: 3653 Location: San Diego, CA line-by-line my understanding is that this format doesn't contain individual "lines" that the encoded text has embedded coded similar to the Unix "\n" and the HTML "<br>". So would either need to read the data as a "chunk" or character by character, and decipher the formatting information as you went. I know this is what I had to do with RTF data for a VB program I wrote a few years back. _________________ Dave Sisemore MacPro, OSX 10.7.3 RB2011r3 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
