Hello, i have a little problem after update from 1.8 to 2.0. I open a pdf form, witch was created from libreoffice, fillout the form, and show it with pdfrenderer. After update to 2.0 the fill out form fields was not shown at image. When i save the document to file, the fill out data are included. Code: --------------------------- PDDocument doc = PDDocument.load(new File(Client.class.getResource("/resources/pdf/template.pdf").getFile())); PDAcroForm form = doc.getDocumentCatalog().getAcroForm(); for(int i = 0; i<list.size(); i++) { String fieldname = "field"+(i+1); form.getField(fieldname).setValue(((ListObject)list.get(i)).getText()); } PDFRenderer pdfRenderer = new PDFRenderer(doc); try { ImagePanel panel = new ImagePanel(pdfRenderer.renderImageWithDPI(viewPage, 300, ImageType.RGB),zoom); scpanel.setViewportView(panel); panel.repaint(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } --------------------------- Anyone has an idea, why the form data not shown but save? Greets Lars
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org