Hello,

I own several documents that have a field for signature. I open a template,
fill the fields and sign the document.

The fdf generated by the lines:
//pdf content is a byte[]
PdfReader reader = new PdfReader(pdfContent);
FdfWriter fdfWriter = new FdfWriter();
File outputFdf = new File("out.fdf");
FileOutputStream outputFdfFos = new FileOutputStream(outputFdf);
                                                
reader.getAcroFields().exportAsFdf(fdfWriter);
fdfWriter.writeTo(outputFdfFos);
outputFdfFos.flush();
outputFdfFos.close();

has the signature field but not its content:

5 0 obj
<< / T (Signature1) / V << / Type / Sig >>>>
endobj

When i reopen the document template and import the fdf, I need it to be
signed.

Is there any way to achieve this? 



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Signature-Field-In-FDF-File-tp4659009.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&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