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 4C57F17330 for ; Thu, 11 Jun 2015 09:16:46 +0000 (UTC) Received: (qmail 22922 invoked by uid 500); 11 Jun 2015 09:16:46 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 22898 invoked by uid 500); 11 Jun 2015 09:16:46 -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 22887 invoked by uid 99); 11 Jun 2015 09:16:45 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2015 09:16:45 +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 4426ECD2C8 for ; Thu, 11 Jun 2015 09:16:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4 X-Spam-Level: **** X-Spam-Status: No, score=4 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ssvp58RfxorF for ; Thu, 11 Jun 2015 09:16:38 +0000 (UTC) Received: from www168.your-server.de (www168.your-server.de [213.133.104.168]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 3A0A426536 for ; Thu, 11 Jun 2015 09:16:37 +0000 (UTC) Received: from [88.198.220.132] (helo=sslproxy03.your-server.de) by www168.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1Z2ya6-0002xf-C7 for users@pdfbox.apache.org; Thu, 11 Jun 2015 11:15:26 +0200 Received: from [79.242.106.95] (helo=mbp001.fritz.box) by sslproxy03.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1Z2ya2-0002lG-Mu for users@pdfbox.apache.org; Thu, 11 Jun 2015 11:15:22 +0200 From: Maruan Sahyoun Content-Type: multipart/alternative; boundary="Apple-Mail=_17B36F9C-6BFF-4DDD-A330-2B83B0F40F56" Message-Id: <9EC8A016-06A7-4BEC-B902-8D8289DC618E@fileaffairs.de> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: needsappearances flag Date: Thu, 11 Jun 2015 11:15:18 +0200 References: To: users@pdfbox.apache.org In-Reply-To: X-Mailer: Apple Mail (2.2098) X-Authenticated-Sender: sahyoun@fileaffairs.de X-Virus-Scanned: Clear (ClamAV 0.98.5/20561/Thu Jun 11 07:34:59 2015) --Apple-Mail=_17B36F9C-6BFF-4DDD-A330-2B83B0F40F56 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, > Am 10.06.2015 um 18:44 schrieb Daniel Young = : >=20 > Hello, >=20 > Wondering if anyone can give an example of the proper way to set the > needsappearances flags on an acroForm? Currently, having an issue with = PDF > fields filled with PFDBox, using setValue, not rendering in Chromes = native > PDF viewer. I remember that this flag may help in that situation. Any = help > either way is much appreciated. for PDFBox 2. there is already a setter/getter within PDAcroForm. For = PDFBox 1.8 you could do COSDictionary dictionary =3D PDAcroForm.getDictionary(); dictionary.setBoolean(COSName.NEED_APPEARANCES, true); BR Maruan >=20 > Thanks. --Apple-Mail=_17B36F9C-6BFF-4DDD-A330-2B83B0F40F56--