Hmm, do annotations only contain information about fields? I tried modifying the field copier to grab the fields from one document, and the content from the other. But that only resulted in tons of errors when I went to save the files.
If I wanted to take the fieldcopy implementation, let it run as is, then go back over the dictionaries, or where ever this particular info is stored, where would I look in the dictionary to replace the content of a page? What dictionary stores the list of pages and their underlying objects. (I ran out and bought a copy of the PDF reference, man this thing is huge) Any chance of a future version of itext that treats the input and output data the same for a PDF? That is to say, any chance that instead of looking through dictionaries, info that gets read is wrapped by the same objects you use to build the data, ex, PdfFormField. It would make my life so much easier as a person who doesn't know the PDF format to be able to create a PdfFormField, set some getters and setters, and when I read that same PDF back in to have the same kind of objects(PdfFormField) returned when I say getFields() or whatever. Just a thought. Thanks, -Nick _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
