• 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
Custom attrs preserved in RTF files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom attrs preserved in RTF files?


  • Subject: Custom attrs preserved in RTF files?
  • From: "Mike R. Manzano" <email@hidden>
  • Date: Tue, 19 Sep 2006 15:35:26 -0700

If I pass a custom attribute and value to NSMutableAttributedString's

-(void)addAttribute:(NSString *)name value:(id)value range:(NSRange) aRange

and then write the string to an RTF file, can I expect the custom attribute and value to be preserved in the file?

Even if it does preserve it, does anyone have any experiential knowledge about other RTF editors and whether they tend to preserve such information even if they don't understand them?

I'm trying to decide if adding custom attributes to a file is an appropriate way to meta-tag text. If this isn't a good way to do it, I'd probably use a sidecar file, although that solution is sort of "yucky" as well.

Cheers!


~ Mike alephx01 (at) mac (dot) com





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Custom attrs preserved in RTF files?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Displaying HTML in an NSTextField
  • Next by Date: Re: Displaying HTML in an NSTextField
  • Previous by thread: Re: Displaying HTML in an NSTextField
  • Next by thread: Re: Custom attrs preserved in RTF files?
  • Index(es):
    • Date
    • Thread