• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Populate "NSLinkAttributeName" attribute from RTF?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Populate "NSLinkAttributeName" attribute from RTF? (From: Dan Wood <email@hidden>)

  • Prev by Date: Re: Category Use
  • Next by Date: Saving Window positions in Cocoa
  • Previous by thread: Populate "NSLinkAttributeName" attribute from RTF?
  • Next by thread: Signals in Cocoa Programs
  • Index(es):
    • Date
    • Thread