Paste or Drag PDF Data into NSTextView
Paste or Drag PDF Data into NSTextView
- Subject: Paste or Drag PDF Data into NSTextView
- From: Jeff LaMarche <email@hidden>
- Date: Sat, 22 Mar 2003 14:18:09 -0500
I have a program that exports PDF data, places PDF data on the
pasteboard and drag pasteboard. A user recently pointed out that you
get different behavior in TextEdit if you paste/drag the data into
TextEdit or if you export to a PDF file and then import it into text
edit. In the former cases, TextEdit seems to rasterize the data at
72dpi; in the latter, it preserves the resolution independence of the
pdf data.
I have failed to find anything on my end that I can do to change this
behavior, and looking through the TextEdit source code, I failed to
find any code that handles this behavior. Does that mean that this is
stock App Kit functionality? Anyone know why the discrepancy in the
behavior, and if there's anything that can easily be done either to my
application or to TextEdit that would preserve the vector data and
prevent the rasterization?
As always, thanks in advance.
Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.