You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/06 18:50:45 UTC

[jira] [Commented] (PDFBOX-2961) Checkbox with multiple widgets doesn't reflect check() state.

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

ASF subversion and git services commented on PDFBOX-2961:
---------------------------------------------------------

Commit 1701500 from [~msahyoun] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1701500 ]

PDFBOX-2961: respect multiple widgets when setting the AppearanceState

> Checkbox with multiple widgets doesn't reflect check() state.  
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-2961
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2961
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 1.8.10, 2.0.0
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>              Labels: Appearance
>             Fix For: 2.0.0
>
>
> If a checkbox has multiple annotations (i.e. the same checkbox field occurs multiple times within the form)  the appearance state for the annotation widgets is not correctly set.
> This has been reported on the users mailing list:
> {quote}
> Hi,
> I have a simple document with two PDCheckbox fields, and one of those fields has two AnnotationWidgets. I am able to successfully call check() on the first field and see the result in the output document, but calling check() on the field with multiple AnnotationWidgets has no effect.
> My understanding of duplicated fields is that only a single PDField exists but that an AnnotationWidget kid will exist for each instance of the field in the document, so setting the PDField parent once should affect all of the children. Am I misunderstanding how this should work?
> Attached is the document I am testing as well as a small Java class that reproduces the issue by calling check() on everything in getFields().  I have tried this with PDFBox 1.8.9, 1.8.10, and the 09/03 Snapshot of 2.0.0. I am viewing the document with Adobe Acrobat Reader DC Version 2015.008.20082.
> Any insight would be appreciated.
> Thanks,
> Bart.
> {quote} 



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

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