Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7E2CF200BAD for ; Tue, 25 Oct 2016 21:39:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7CAF4160AF3; Tue, 25 Oct 2016 19:39:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C4593160AD8 for ; Tue, 25 Oct 2016 21:39:33 +0200 (CEST) Received: (qmail 35923 invoked by uid 500); 25 Oct 2016 19:39:32 -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 35907 invoked by uid 99); 25 Oct 2016 19:39:32 -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; Tue, 25 Oct 2016 19:39:32 +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 F18C0C2113 for ; Tue, 25 Oct 2016 19:39:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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 xwMKTeeNgQz3 for ; Tue, 25 Oct 2016 19:39:30 +0000 (UTC) Received: from smtp69.iad3a.emailsrvr.com (smtp69.iad3a.emailsrvr.com [173.203.187.69]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 131D95F307 for ; Tue, 25 Oct 2016 19:39:30 +0000 (UTC) Received: from smtp17.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp17.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 25A8CA0551 for ; Tue, 25 Oct 2016 15:39:09 -0400 (EDT) Received: from smtp192.mex09.emailsrvr.com (unknown [74.205.9.160]) by smtp17.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTPS id 1B392A0546 for ; Tue, 25 Oct 2016 15:39:09 -0400 (EDT) X-Sender-Id: listonj@asconline.com Received: from smtp192.mex09.emailsrvr.com ([UNAVAILABLE]. [74.205.9.160]) (using TLSv1.2 with cipher AES256-SHA256) by 0.0.0.0:25 (trex/5.7.7); Tue, 25 Oct 2016 15:39:09 -0400 Received: from MBX07B-IAD3.mex09.mlsrvr.com (172.29.64.33) by MBX02A-IAD3.mex09.mlsrvr.com (172.29.64.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.27; Tue, 25 Oct 2016 15:39:08 -0400 Received: from MBX07B-IAD3.mex09.mlsrvr.com ([fe80::187c:d463:b0ba:6a3e]) by MBX07B-IAD3.mex09.mlsrvr.com ([fe80::187c:d463:b0ba:6a3e%25]) with mapi id 15.01.0544.027; Tue, 25 Oct 2016 15:39:08 -0400 From: John Liston To: "users@pdfbox.apache.org" Subject: How to remove buttons from a PDF Thread-Topic: How to remove buttons from a PDF Thread-Index: AdIu9zn7D3ODAvVlTn+O+VoxXdfEfg== Date: Tue, 25 Oct 2016 19:39:08 +0000 Message-ID: <2d338e622e97429e8e5e39e18c0a8f8f@asconline.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [208.40.10.242] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 archived-at: Tue, 25 Oct 2016 19:39:34 -0000 How do I use PDFBox to remove the "About" etc. buttons from the top edge of= this PDF, so that I may then view it without them?=20 https://www.dropbox.com/s/781cgwn4m2grose/PAMV1A.pdf?dl=3D0=20 I tried PDDocument.getDocumentCatalog().getAcroForm().flatten() without suc= cess. How can I get rid of the buttons? Thanks, John Liston --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org