• 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
Paste or Drag PDF Data into NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Paste or Drag PDF Data into NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: The best way to hide views.
  • Next by Date: Re: object instance names generated on the fly?
  • Previous by thread: NSImage not using NSImageRep when drawing to NSPSAndPDFGraphicsContext
  • Next by thread: Re: Paste or Drag PDF Data into NSTextView
  • Index(es):
    • Date
    • Thread