From users-return-11537-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Thu Mar 7 05:03:49 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A3864180656 for ; Thu, 7 Mar 2019 06:03:48 +0100 (CET) Received: (qmail 75812 invoked by uid 500); 7 Mar 2019 05:03:47 -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 Received: (qmail 75786 invoked by uid 99); 7 Mar 2019 05:03:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2019 05:03:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6A56EC76BE for ; Thu, 7 Mar 2019 05:03:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id vADhWd66N3Ih for ; Thu, 7 Mar 2019 05:03:43 +0000 (UTC) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CF71861115 for ; Thu, 7 Mar 2019 04:53:24 +0000 (UTC) Received: from fwd27.aul.t-online.de (fwd27.aul.t-online.de [172.20.26.132]) by mailout08.t-online.de (Postfix) with SMTP id DC48C41982EA for ; Thu, 7 Mar 2019 05:53:23 +0100 (CET) Received: from [192.168.2.108] (EIXUpZZOQhexp4PJy9LTxJEexYeSK8sYOjGHtJCROzP1bMauczqa-TMfOu4w4LXgqZ@[84.151.182.1]) by fwd27.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1h1l1x-2v4hk00; Thu, 7 Mar 2019 05:53:17 +0100 Subject: Re: How to get square radio button To: users@pdfbox.apache.org References: From: Tilman Hausherr Message-ID: Date: Thu, 7 Mar 2019 05:53:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ID: EIXUpZZOQhexp4PJy9LTxJEexYeSK8sYOjGHtJCROzP1bMauczqa-TMfOu4w4LXgqZ X-TOI-MSGID: c5a06337-f097-4275-a0e5-b53a5ec463a6 Please look into the source code download for CreateCheckBox.java and CreateRadioButton.java, these are (new!) examples. Come back if there are difficulties. Tilman Am 07.03.2019 um 05:16 schrieb Gary Grosso: > This is resurrecting a thread from last July, as a customer has now decided they really want this. > >> From: Tilman Hausherr >> Sent: Tuesday, July 24, 2018 2:35 PM >> To: users@pdfbox.apache.org >> Subject: Re: How to get square radio button >> >> >> Yes, it is a pain. Find these sequences in PDFDebugger and insert then appropriately in your code. Try first without the /ZaDB stuff. If it is needed, then add it to the Acroform default resources first, and then this element to the resource of the appearance stream element. >> >> Tilman > It seems I do need to reference ZapfDingbats, and am having trouble doing so. I can see the Adobe Acrobat example, aapro.net/temp/squarebutton.pdf, has a Resources node, but mine, aapro.net/temp/RadioButtons_modified.pdf, does not. > > Comparison images of PDFDebugger are at http://aapro.net/temp/ as are links to the 2 PDF files, and my main Java class. > > Many thanks, > Gary > > > > > The content of this email and any attached files are intended for the recipient specified in this message only. It may contain information that is confidential, proprietary, privileged, and/or exempt from disclosure under applicable law. It is strictly forbidden to share any part of this message with any third party or rely on any of its contents, without the written consent of the sender. If you received this message by mistake, please reply to this message and follow with deletion of the original message, any copies and all attachments, so that we can ensure such a mistake does not occur in the future. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org