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);
}
}
}
pgpLlR06mHa7t.pgp
Description: PGP signature
