🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #962

Re: Reading in .rtfd files

#962
From: Cecil Bloch
Date: Fri, 11 Sep 1992 16:40
14 lines
1106 bytes
In article <BuDMzq.C52@monitor.com> howard@monitor.com (Howard Brenner)  
writes:
> I actually did something pretty hacky.  I did a:
>     [Text registerDirective:"NeXTGraphic" forClass:[GraphicCell class]];
> 
> Where GraphicCell is a subclass of ButtonCell.
> 

Unless you have a specific reason for wanting a ButtonCell, Cell itself  
will do, but even that is overkill since if all you want is an embedded  
TIFF then there is no need for all the Cell machniery and as long as your  
Object subclass implements the methods spelled out in the Text  
documentation all will be fine, just fine.  Hence GraphicImage is a  
subclass of Object, not Cell.
Technical Details
Message-ID: <1992Sep11.164035.3569@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!news
References: <BuDMzq.C52@monitor.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!news
From: cjb@canopus.Stanford.EDU (Cecil Bloch)
Subject: Re: Reading in .rtfd files
Message-ID: <1992Sep11.164035.3569@leland.Stanford.EDU>
Sender: news@leland.Stanford.EDU (Mr News)
Reply-To: cjb@vega.stanford.edu
Organization: DSO, Stanford University
References: <BuDMzq.C52@monitor.com>
Date: Fri, 11 Sep 92 16:40:35 GMT
Lines: 14