Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5
Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5
- Subject: Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5
- From: Joel Norvell <email@hidden>
- Date: Fri, 2 May 2008 22:54:09 -0700 (PDT)
If you use PDFKit 10.5 to save and then restore a pdf file, are
PDFAnnotationTextWidget stringValues preserved? (These are the text fields
that you enter in PDF forms.)
They aren't being saved/restored in my program. This is the line that creates
the pdfData which is written to my file:
NSData * pdfData = [[_pdfView document] dataRepresentation];
The PDFKit documentation doesn't seem to answer this question (or else I missed
it). I looked through the Cocoa-dev archives and saw one post "Re: Editable
PDFAnnotation" that made me think they should be saved/restored under 10.5.
But I've noticed that Preview 4.1 doesn't save that data, so now I'm confused.
I'm using a June 2007 MacBook Pro with 10.5.2 and Xcode 3.0 and my "Additional
SDKs" and "Base SDK Path" are both blank which I believe is supposed to resolve
to the most current (10.5) SDK.
Thank you for your consideration!
>From the Twilight Zone,
Joel Norvell
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden