Post a small pdf created with Acrobat with all the features you need. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ralf Hauser > Sent: Friday, July 01, 2005 11:22 PM > To: [email protected] > Subject: [iText-questions] Showing filename together > (clickable) with attachment pin and making it printable > > Hi, > > In > https://sourceforge.net/tracker/index.php?func=detail&aid=1228 > 828&group_id=1 > 5255&atid=365255, Paolo suggests to processing the resulting > annotation. > > Ok, instead of immediately adding it to the stamper as per > http://itextdocs.lowagie.com/examples/com/lowagie/examples/obj > ects/anchors/A > nnotations.java, I do > > PdfAnnotation pdfAtta = PdfAnnotation.createFileAttachment( ... > pdfAtta.setFlags(PdfAnnotation.FLAGS_PRINT); > pdfAtta.setTitle(fileName + " (" + sizeKB + " KB)"); > > The result is that when I hover the mouse over the pin, I now > also see the > title (and not just the content as before). > > But without the mouse over it, the filename is not visible. > Also, unfortunately still neither the filename nor the > pin-icon printed. > > Is there a way to show the filename also on paper and still have it > clickable such that a double-click on filename (or the pin > icon) opens the > attached file. > > Any hints would be highly appreciated! > > Ralf > > P.S.: Of will I have to create another text-annotation and > link it to the > same attachment? > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions >
------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
