Custom attrs preserved in RTF files?
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