[
https://issues.apache.org/jira/browse/PDFBOX-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14663291#comment-14663291
]
John Hewson commented on PDFBOX-2918:
-------------------------------------
This should be as simple as calling constructAppearances() from any style
setters. Alternatively, if (and only if) this doesn't perform well, then
construct the appearance lazily when the AP stream is next fetched.
> Allow to refresh an AcroForm field appearance
> ---------------------------------------------
>
> Key: PDFBOX-2918
> URL: https://issues.apache.org/jira/browse/PDFBOX-2918
> Project: PDFBox
> Issue Type: Improvement
> Components: AcroForm
> Affects Versions: 1.8.10, 2.0.0
> Reporter: Maruan Sahyoun
> Labels: Appearance
>
> When a field widgets 'style' is changed such as a border is defined this is
> not immediately visible as the change is not reflected in the widgets
> appearance stream.
> There should be a possibility to force a refresh of the fields appearance
> after such settings have been specified.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]