Yes. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Bureau > Sent: Wednesday, June 08, 2005 9:24 PM > To: [email protected] > Subject: [iText-questions] PdfStamper.addComments > > Hi, > > what do you think about the following code, should it import > all annotations ? > > Thanks, > Thomas > > import com.lowagie.text.pdf.*; > import java.io.FileOutputStream; > public class AddComments{ > public static void main(String[] argv){ > try{ > PdfReader pdf = new > PdfReader("withoutComments.pdf"); > FileOutputStream stream = new > FileOutputStream("withComments.pdf"); > PdfStamper stamper = new PdfStamper(pdf,stream); > FdfReader fdf = new FdfReader("comments.fdf"); > stamper.addComments(fdf); > stamper.close(); > } > catch(Exception e){ > System.out.println(e); > } > } > } >
------------------------------------------------------- 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 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
