Re: Populate "NSLinkAttributeName" attribute from RTF?
Re: Populate "NSLinkAttributeName" attribute from RTF?
- Subject: Re: Populate "NSLinkAttributeName" attribute from RTF?
- From: Ali Ozer <email@hidden>
- Date: Thu, 24 Jan 2002 18:03:36 -0800
if there's a way to set the "NSLinkAttributeName"
attribute on NSAttributedString when populating it via RTF?
unfortunately no, not at this time. I don't know whether you were
thinking of loading links from Word RTF docs (this seems to be
supported, but the spec doesn't describe it and the way the link was
stored wasn't very straightforward last time we looked at it), or
whether you were going to put your own links, but if the latter, you
could use some other attribute or text tag (or even just recognize the
URL) and do the fix up in the attributed string on read/write.
Ali