Hello,
i have make some tests. So i thinks its the PDFRenderer. When I open a
pdf, fill out the form and safe it as png, then the fields are not
filled out. Save it as pdf, works.
But i have a solution:
//Open the form
doc = PDDocument.load(new
File(Client.class.getResource("/resources/pdf/document.pdf").getFile()));
PDAcroForm form = doc.getDocumentCatalog().getAcroForm();
form.setNeedAppearances(false); //<-- the importent line
form.getField(fieldname).setValue(something);
So when setNeedAppearances is set to false, the Image-Renderer show the
fill out fields.
Greets
Lars
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org