Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8354F1753A for ; Fri, 4 Sep 2015 18:52:24 +0000 (UTC) Received: (qmail 64968 invoked by uid 500); 4 Sep 2015 18:52:23 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 64945 invoked by uid 500); 4 Sep 2015 18:52:23 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Delivered-To: moderator for users@pdfbox.apache.org Received: (qmail 59470 invoked by uid 99); 4 Sep 2015 18:50:23 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SRu5YzhhJYVF4f8EuTapCTwtEhSNL2a6B6fHHca9TKA=; b=NMDfq3VCdmrjHiNRsBBwz2sZBDUlM5jJn8wekJN9WpLm4j1pIiMXHqZZeS6hbwim9K YGhAH+FUhkPxYLL8AsfffEzsIMl0Wd0i5lAy4zRruAgduKoPxK6PbsvuNW2E2vQGsb6u sHao6HPsshPVaX4U6NBf6i+HJWzVtKrxmg80qMe+Ig11rB+MKfz8DEgjEWIMIkZggc9O xrnsnrNWchksojjnyDvH6VLzgBWGWJjqwyW5+QZ1qGAuanIyqsnYrSl0xEyVDQqopvHf KxEGO20WmPu/AT6eBC1xIyr/s9GvbfOhqjJdTxaerUr1LVgDWZHnCBzQ8ZZFLUdGP418 L4mg== MIME-Version: 1.0 X-Received: by 10.170.92.3 with SMTP id j3mr5944281yka.7.1441392621186; Fri, 04 Sep 2015 11:50:21 -0700 (PDT) Date: Fri, 4 Sep 2015 14:50:21 -0400 Message-ID: Subject: Checkbox with multiple AnnotationWidgets From: Bart Taylor To: users@pdfbox.apache.org Content-Type: multipart/mixed; boundary=001a113a783e2b9b94051ef05f89 --001a113a783e2b9b94051ef05f89 Content-Type: multipart/alternative; boundary=001a113a783e2b9b8e051ef05f87 --001a113a783e2b9b8e051ef05f87 Content-Type: text/plain; charset=UTF-8 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. --001a113a783e2b9b8e051ef05f87 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have a simple document with two P= DCheckbox fields, and one of those fields has two AnnotationWidgets. I am a= ble to successfully call check() on the first field and see the result in t= he output document, but calling check() on the field with multiple Annotati= onWidgets has no effect.

My understanding of dupli= cated fields is that only a single PDField exists but that an AnnotationWid= get kid will exist for each instance of the field in the document, so setti= ng the PDField parent once should affect all of the children. Am I misunder= standing how this should work?

Attached is the doc= ument I am testing as well as a small Java class that reproduces the issue = by calling check() on everything in getFields().=C2=A0 I have tried this wi= th 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.
--001a113a783e2b9b8e051ef05f87-- --001a113a783e2b9b94051ef05f89 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org --001a113a783e2b9b94051ef05f89--