This should be possible with 2.1.7?  I tried and it also seemed to fail.  I
was trying with version 2.0.4 and after you post tried with 2.1.7 but no
luck.  I am unable to post the documents due to business constraints.  I
tried with a test driver like this.  Any thoughts?  Thanks for the help with
this.  :-) 

ByteArrayOutputStream baos = new ByteArrayOutputStream();
         String[] files = { "C:\\Temp\\PDF\\47065-0913.pdf",
"C:\\Temp\\PDF\\47077-0913.pdf"};
         
         PdfCopyFields copy = new PdfCopyFields (baos);
         
         
         int n;
         // loop over the documents you want to concatenate
         for (int i = 0; i < files.length; i++) {
                 
             PdfReader reader = new PdfReader(files[i]);
             copy.addDocument(reader); 
             AcroFields form = reader.getAcroFields() ;
             //Item item = form.getFieldItem("esign1");
             //System.out.println (item.toString());
            /* form.getFields().
             Set<String> fields = form.getFields().keySet();
             for (String key : fields)
             {
                 if ( true)
                 {
                     System.out.println(key);
                 }
             }*/
         }
         
         copy.close();



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/PDFCopyFields-unsigned-signatures-don-t-appear-in-signature-panel-tp4659377p4659383.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to