Re: Links in RTF
Re: Links in RTF
- Subject: Re: Links in RTF
- From: Douglas Davidson <email@hidden>
- Date: Fri, 26 Jul 2002 12:00:16 -0700
On Friday, July 26, 2002, at 11:43 AM, Steven W. Schuldt wrote:
I'd like to add clickable links to RTF (and RTFD) displayed in an
NSTextView. Ali Ozer seemed to imply this was both impossible and
possible in this archived message:
http://cocoa.mamasam.com/COCOADEV/2002/01/2/23082.php
In my case I populate the NSTextView's textStorage with either
[[NSAttributedString alloc] initWithRTFDFileWrapper:] or
[[NSAttributedString alloc] initWithRTF:], so I can play any games
required with the attributed string at read time.
Before I get bloody attempting this, I was wondering if anyone had
encouraging ideas or success stories. Thanks!
I believe what Ali said is that we do not read or store links in RTF,
but that you can add link attributes programmatically to your text
storage whenever you like.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Links in RTF (From: "Steven W. Schuldt" <email@hidden>) |