Hi Paolo,

I appreciate you "down-to-the-point-to-be-made" style of replies ... :-)

Well, the original idea was to generate a report using

1) a few existing PDF forms as templates
2) fill in the data
3) concat them
4) add the attachments

Everything works apart from 4) ... so the question remains how to attach something to an existing PDF. Is this generally impossible to do with iText? Or am I just on the wrong track? The original idea was to use FOP but I will run into problems attaching the files. And using the iText API to create the PDF including the attachments is not such good idea since I would hardcode the layouting.

Thanks in advance,

Siegfried Goeschl


Paulo Soares wrote:
You can't add content with PdfCopy.

----- Original Message ----- 
From: "Siegfried Goeschl" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, June 10, 2005 12:56 PM
Subject: [iText-questions] How to add file attachments to an existing PDF?


  
Hi folks,

for modelling a workflow I need to attach files to an existing PDF
document. I went through the samples and wrote a testcase based on the
sample of concatening PDFs (to get a PdfWriter) and using PDFAnnotation.
The copying works but the file attachments are not visible. The file
attachment seems to be there but not visible when viewing the document
with Acrobat Reader.

Any ideas?!

Cheers,

Siegfried Goeschl


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
    
shotput
  
a projector? How fast can you ride your desk chair down the office luge
    
track?
  
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
    


  

Reply via email to