Sorry, pressed the wrong button... -----Original Message----- From: Alan [mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 March 2006 7:19 AM To: 'Leonard Rosenthol' Subject: RE: [iText-questions] File Attachments - without linked Annotation
That's what I figured... But how do I get the dictionaries? (Catalog and MarkInfo are the two giving me most trouble at the moment. I have learned how to create the required dictionaries but can't figure out how to get the "parent". Thanks AlanK -----Original Message----- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 March 2006 4:23 AM To: Alan; itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] File Attachments - without linked Annotation At 11:10 PM 3/26/2006, Alan wrote: >I have been looking at the lists and the tutorials to find a way of >attaching a file without creating an associated link or anchor (the >same as happens using the Document menu Attach a file item). > >Can anyone give me some clues on how to do this? > I don't believe it's implemented by iText at this time, but using the existing code for doin a FileAttachment annotation - it won't be difficult to do an "named attachment". They are the same data structure (embedded file /EF) but live in the /Catalog/Names dictionary. Check the PDF Ref for details. Leonard --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-938-7080 (voice) 215-938-0880 (fax) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions