Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5

2008-05-02 Thread Joel Norvell
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: NSD

Re: Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5

2008-05-03 Thread Antonio Nunes
On May 3, 2008, at 6:54 AM, Joel Norvell wrote: 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 are not preserved. If you are saving data into your own file forma

Re: Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5

2008-05-03 Thread Joel Norvell
Dear Antonio, Thank you very much for clarifying this! And CONGRATULATIONS on your new PDFClerk Pro 3.0 "rewritten from the ground up to take advantage of Mac OS X 10.5's many improvements"! Best regards, Joel --- Antonio Nunes <[EMAIL PROTECTED]> wrote: > On May 3, 2008, at 6:54 AM, Joel Norv

Re: Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5

2008-05-05 Thread John Calhoun
On May 3, 2008, at 1:58 AM, Antonio Nunes wrote: They are not preserved. If you are saving data into your own file format you can can query the widgets at saving time and write them out explicitly. Then restore them when the file is read back in, after the PDF pages have been restored. Ant

Re: Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5

2008-05-08 Thread Joel Norvell
This is roughly the recipe Antonio suggested, although I'm shoehorning the widget data into the pdf itself; probably heretical, but it seemed like the practical thing to do. Synchronistically, I'd written this before posting my question :-) http://frameworker.wordpress.com/2008/05/06/a-cocoa-rec