> On Dec 19, 2014, at 1:39 PM, Charles Jenkins <cejw...@gmail.com> wrote: > > But when it comes time to save to a file format selected from AppKit > additions (e.g. RTFFromRange:documentAttributes:), any unusual, > application-specific attributes will be lost. There is no built-in file > format you can select that will save just any arbitrarily named attribute. > > Am I right?
Yes, as far as I know. How would AppKit store your arbitrary attributes into an HTML document? It would have to be a nasty hack like adding a magic HTML attribute (like "nsattributedstringmetadata") whose value was a base64 string of an NSArchive of the attribute dictionary. O_o —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com