[ 
https://issues.apache.org/jira/browse/PDFBOX-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945300#comment-14945300
 ] 

Maruan Sahyoun commented on PDFBOX-2755:
----------------------------------------

As a side note PDF 2.0 (in the current draft) deprecates XFA and also 
NeedAppearances has changed in that is demands that a form filling application 
shall update the fields appearance and not depend on the (Adobe) reader to 
construct that by setting the flag. The same applies to annotations.

> Support filling hybrid PDF forms
> --------------------------------
>
>                 Key: PDFBOX-2755
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2755
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>    Affects Versions: 1.8.9, 1.8.10, 2.0.0
>            Reporter: hui xu
>            Assignee: Maruan Sahyoun
>             Fix For: 2.1.0
>
>         Attachments: formtestFailed.pdf, formtestOK.pdf
>
>
> Ran SetField.java in package org.apache.pdfbox.examples.fdf, the field value 
> is changed but can not been saved in pdf file.
> I added 2 more lines code:
>         List<PDField> newList = new ArrayList<PDField>();
>         .................................
>         acroForm.setFields(newList);
> The pdf was saved with the change. But reload the saved pdf file and try to 
> reset some values, it throws NullPointerException, the file can't getFields().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to