If you're still interested I've added that feature in the CVS. Call PdfStamper.addFileAttachment() for a document level file attachment.
Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paulo Soares > Sent: Wednesday, May 31, 2006 2:56 PM > To: [email protected] > Subject: RE: [iText-questions] Attachment without annotation rectangle > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Anders Rundgren > > Sent: Wednesday, May 31, 2006 12:51 PM > > To: [email protected] > > Subject: [iText-questions] Attachment without annotation rectangle > > > > Although I have not yet begun with the attachment stuff, I > > could only find APIs that > > seem to require a rectangle argument for annotations. > > > > Using the Acrobat 6 Prof,. I can attach a file without it > > being visible except in > > the tab called attachments (when looking with Reader 7.0). > > > > Is there a way to do this programmatically with iText? > > > > No. It's not difficult to implement but it's not done. > > > A peitit example of how you create attachments would not be wrong ;) > > > > PdfAnnotation.createFileAttachment(). See also > http://article.gmane.org/gmane.comp.java.lib.itext.general/19141. > > Paulo > Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
