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 54960200D3C for ; Tue, 14 Nov 2017 13:36:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 52BC7160BF4; Tue, 14 Nov 2017 12:36:08 +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 9A7051609EF for ; Tue, 14 Nov 2017 13:36:07 +0100 (CET) Received: (qmail 76872 invoked by uid 500); 14 Nov 2017 12:36:06 -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 76860 invoked by uid 99); 14 Nov 2017 12:36:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2017 12:36:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7793918360E for ; Tue, 14 Nov 2017 12:36:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id K2BYSVkyBTvS for ; Tue, 14 Nov 2017 12:36:04 +0000 (UTC) Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9785C5F39D for ; Tue, 14 Nov 2017 12:36:03 +0000 (UTC) Received: by mail-qt0-f180.google.com with SMTP id v41so24638514qtv.12 for ; Tue, 14 Nov 2017 04:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Y7N6kSLsdAsLKjxJnrgEBLmYQp4zzHwCrR/xx7wWnbw=; b=WHoBIvlWsHJ53XuNfvJ8jZfJtBEtgo2tFkJRqISGPd+M96juYw46lkbCVpiDpXcRAT gP1dly+AGtru5WZiMLVjcD7eUNiU78W6O4nido6oNSP3fKJPGa1sY+hMS4Vo3n3YbiQp OGWrb3wVXhbUHVoURvW+yq3Sx1JiW2Z9esoNDBrOu25d8FMqe6SihcDLkhug4MIsT9/Y 4PayMzFA3ObIy7hru4sjCIXGv71oPv/z9jDJgvM/MeamtEJ8nz5+lbqLqz5adnf3dwWi EqplThKDivezUwsm3HpkhFHnuXxqIgZ7CTfBtWXufbq/49wj9bIdrkTNe/myaalU/Ert Fj8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Y7N6kSLsdAsLKjxJnrgEBLmYQp4zzHwCrR/xx7wWnbw=; b=E0A5p2z7Vy7dtzqka9yzpQXQIu/NH3jObNWVYi+F5PCAmfM/lupo9YxyaeeybBcGWR Owy1AIrkVhBSMEIfwgB3vxeUiC5GVl7b9tM4KGpOqaoR1S8cWGJ8hU/lltdldIp1dFpC TviJHtJAKdPJHYF3Xm9/e5XT91VVsxIwLstWCynG0VlbJCom7jkU6bix3W7FCasHCazF i1DYMk7UWP2pPgOzopggn2eK8Q/jpYw9mt3klmuU+X+ITRdxKdBGidmgOxKs+5BWCYEB 7O9L9HWuUAA/s7+yMsKE5q29VJDfLHb2uYU7RuJYNeScHlVSPfsAFBuzp6LJqa+oZaqo t7sA== X-Gm-Message-State: AJaThX4oV3FM568M4wGfDC+dXaM5ySR/IT/DHbB2EWGa9gl6MqtEnRE7 Y+c+jRRFlJ5YbrwAlKRVZdNnZJ8X20tDi2xLwlbErg== X-Google-Smtp-Source: AGs4zMYAsFlz/9noxAixD7CH4Iv50hM1TJVWH2Cc5pyvk1xx/FEp2NvuMLbhVQixGTvcB6JvDUSMeKIXRb/CfuiDLDk= X-Received: by 10.129.43.134 with SMTP id r128mr8168127ywr.317.1510662962291; Tue, 14 Nov 2017 04:36:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.153.69 with HTTP; Tue, 14 Nov 2017 04:35:41 -0800 (PST) From: Gilad Denneboom Date: Tue, 14 Nov 2017 13:35:41 +0100 Message-ID: Subject: PDAnnotationLink visibility issues To: "users@pdfbox.apache.org" Content-Type: multipart/alternative; boundary="001a114136483e27c8055df0a1b8" archived-at: Tue, 14 Nov 2017 12:36:08 -0000 --001a114136483e27c8055df0a1b8 Content-Type: text/plain; charset="UTF-8" Hi all, Just wanted to report something I stumbled upon today that was causing me a lot of confusion and headaches when working with Link objects. I was trying to find the equivalent to the "link type" property that Acrobat uses (ie, Visible Rectangle or Invisible Rectangle). Looking at the PDAnnotationLink object I saw two very similar-sounding methods, isInvisible and isHidden (both inherited from PDAnntation), but it turns out that neither of them corresponds with this property. So I did some further research into the border cos object and found that the actual property used by Acrobat is the Border Width (0 = Invisible, 1 = Thin, 2 = Medium, 3 = Thick). Might be a good idea to add this information somewhere in the API Reference... Gilad --001a114136483e27c8055df0a1b8--