Title: RE: [iText-questions] Merging annotations in FDF to original PDF
I had a look at all that and it's not trivial to add the annotations, particulary if there's appearances with resources. I'll see if next week I have the time to implement it.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nguyen, Daniel
Sent: Tuesday, November 16, 2004 11:26 PM
To: Paulo Soares; Nguyen, Daniel; [EMAIL PROTECTED]
Subject: RE: [iText-questions] Merging annotations in FDF to original PDF

Paulo,

I'm afraid I don't understand:
...
> Q2: How should I handle annotations that refer to other using reference in
a
> circular way (ie: Popup -> Parent, and Parent -> Popup) ?
>

Not a problem but depends exactly on the specific annotation. In general the
indirect reference is created first and is attributed to each dic.
...

Q1: ie: In the FDF file, I have:
- an 'Annots' array holding 2 references: '4 0 R' and '3 0 R'
- an object '3 0' that is an annotation dictionary 'Popup' that contains a 'Parent' reference '4 0 R'
- an object '4 0' that is an annotation dictionary 'Text' that contains a 'Popup' reference '3 0 R'

Can you tell me how should I proceed to merge these annotation into the PdfStamper regarding the way I should 'reserve' the reference for annotation use ?

PS: I don't use the PdfStamper addAnnotation () because of this circular dependancy issue...or should I ?

Reply via email to