At 02:04 PM 6/13/2006, Nick Darnell wrote:
>Hmm, do annotations only contain information about fields?

         No.  They also contain all the other types of annotations...


>  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.

         Copying the fields from the template doc to the doc with the 
content is VERY simple and logical - there shouldn't be any problems.


>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?

         Why are you replacing page content??


>What dictionary stores the list of pages and their underlying objects.

         That's a LOT of different objects all interconnected.  You 
do NOT want to play there...


>(I ran out and bought a copy of the PDF reference, man this thing is huge)

         Yes.


>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.

         Doubtful - that's a LOT of work to handle 100% roundtripping.


>   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.

         No time like the present to learn PDF...


Leonard

---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)



_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to