You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2017/05/26 14:46:04 UTC

[jira] [Comment Edited] (PDFBOX-3803) Fields missing after refreshAppearances

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

simon steiner edited comment on PDFBOX-3803 at 5/26/17 2:45 PM:
----------------------------------------------------------------

I created the pdf but i know our customers could have this issue, customer will choose the field name, since customer will append many documents together using unique name for each field may not be possible.


was (Author: ssteiner1):
I created the pdf but i know our customers have this issue, customer will choose the field name, since customer will append many documents together using unique name for each field may not be possible.

> Fields missing after refreshAppearances
> ---------------------------------------
>
>                 Key: PDFBOX-3803
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3803
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 3.0.0
>            Reporter: simon steiner
>         Attachments: input.pdf
>
>
> Fields missing after viewing in Adobe Reader after running:
>         PDDocument doc = PDDocument.load(new File(input));
>         PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm();
>         if (acroform != null) {
>             acroform.setNeedAppearances(false);
>             acroform.refreshAppearances();
>         }
>         doc.save(output);
>         doc.close();



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org