-[NSAttributedString initWithPasteboard:...] - which types are supported?
-[NSAttributedString initWithPasteboard:...] - which types are supported?
- Subject: -[NSAttributedString initWithPasteboard:...] - which types are supported?
- From: Jim Correia <email@hidden>
- Date: Tue, 24 Jan 2006 21:04:26 -0500
I find myself needing to be able to extract multiple strings on the
pasteboard (through dragged text clippings, and when Carbon apps are
the drag source) so I need to re-implement a bit of
-[NSAttributedString
initWithPasteboard:options:documentAttributes:error:]
by going down to the Pasteboard Manager (which supports multiple
items per pasteboard) and using initWithData:..
Can anyone share what types initWithPasteboard looks for, and in what
preferred order?
It looks like it may be WebArchives, RTFD, RTF, and
NSStringPboardType. Anything else?
When the data is not sourced in a Cocoa application, what alternate
flavors does NSStringPboardType fall back on, and in what order?
Thanks,
Jim
_______________________________________________
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