On Sep 25, 2008, at 3:24 AM, Danny Greg wrote:
Just to up the anti, what do I need to do to save the annotations to a proper PDF, (ie keeping all its text, link properties etc). I tried to save off the page's data representation but no matter what I do it never contains any annotations! Again, I need to accomplish this without opening the PDF up in a PDFView.

Okay, I'll ante up. :-)

PDFDocument has methods for saving PDF's – since Leopard, annotations are preserved as annotations.

PDFPage has methods for adding, removing annotations.

The PDFAnnotation classes ave initializers so that annotations can be created.

PDFView is really just a view. While it has a lot of convenience methods to aid in PDF viewing, the real functionailty of PDF Kit is in the other classes.

John Calhoun—_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to