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 C13392004C8 for ; Mon, 9 May 2016 16:05:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C02DA1609A8; Mon, 9 May 2016 14:05:14 +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 E2F0E16099C for ; Mon, 9 May 2016 16:05:13 +0200 (CEST) Received: (qmail 75931 invoked by uid 500); 9 May 2016 14:05:13 -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 75919 invoked by uid 99); 9 May 2016 14:05:12 -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; Mon, 09 May 2016 14:05:12 +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 52363180485 for ; Mon, 9 May 2016 14:05:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.054 X-Spam-Level: *** X-Spam-Status: No, score=3.054 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HK_RANDOM_ENVFROM=0.626, HK_RANDOM_FROM=0.999, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, 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 E4LRYtZMod2P for ; Mon, 9 May 2016 14:05:08 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C282F5F2F0 for ; Mon, 9 May 2016 14:05:07 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id a17so189189871wme.0 for ; Mon, 09 May 2016 07:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=fC2yW8h1I30g2c/YC8MRKHP19T1Qit4w7w72x0cnrdg=; b=ujmhduO5WehMw+4at+zF0GtBnsfSH0xsqwZ2vPRti1hbL2siFmhGDZFFNoBM35hXc0 0S40uQHmTeCZKNi3/ZKI9S4HOQl0URVoW4C4umcP9e3nOmY+K0WLtvFKcmEWd3qaglEJ ygNdBm7CWJAOUvNmg+ygc+b8ag+H7n85kypMibo5zL4oDaq36KdgbCn2IcHcdjn8BvlA xJhYijgNIJz/DJS3eN98lOuKbHTFXkWmUy/QX7V8qb3H1HbfL4IyHV2SOyv5BCWKFLtg uwqD4+4rWf0RpnRAGVYkbzoSfqB18Jiwe4k4wcNiMMFsyPgrscZ97inAiN6oclq3nAZn 7J8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=fC2yW8h1I30g2c/YC8MRKHP19T1Qit4w7w72x0cnrdg=; b=MixOq9D7fRLceP1oA7eT/qjRrXo6VkiYXxEjD7zWUsiCO49zF0bD8kA0c92FJdDWcY cIEi/cENVIH/x2NwpFkctezxyhfI2mYlKb6NmAC03Z81gVVaZGlzMhLadBxmyKn6DeU3 hAI4VT2f/5tIMpdDecSPkB1h0IEZzCzljdgLNQoiTnhG/99hMHGlHEd8aK5zh4L8XUGL VxBrVJCYdapzeV70t7UpM7JTjS6CW7T6NXBwVf3eQ9sT5KK2Bzo0xkhQoPNRTkg4KC4/ 6S6aicyz36JFghrtiH6WLUwExpstefBOkckUC0pz+JsnNYW1sHFfAzhIBd4/8AeMIVBV OWFw== X-Gm-Message-State: AOPr4FVRj3i2Kizb4kFVI/CEwm6neebz73pmuOSSL13Lrcgffo56iNVFoi3MHLjXjwQz3cIlDNKRwDy4f/fosg== X-Received: by 10.28.52.75 with SMTP id b72mr11302618wma.98.1462802707463; Mon, 09 May 2016 07:05:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.183.65 with HTTP; Mon, 9 May 2016 07:04:47 -0700 (PDT) Reply-To: brzrkr@pobox.com In-Reply-To: <06bef803-7d12-7818-dd3c-02bd07743aa6@t-online.de> References: <35D05BA0C1DAFF459AAA18507A41A593367E7E18@vmail01.inside.de> <95e45acc-bf72-dec2-0b87-41b7af55269c@t-online.de> <35D05BA0C1DAFF459AAA18507A41A593367EA30D@vmail01.inside.de> <7512903b-3316-1722-3277-f62791048423@t-online.de> <06bef803-7d12-7818-dd3c-02bd07743aa6@t-online.de> From: Brzrk One Date: Mon, 9 May 2016 10:04:47 -0400 Message-ID: Subject: Re: help with api usage (inline link target) To: users@pdfbox.apache.org Content-Type: multipart/alternative; boundary=001a1143001cc1598b0532694b23 archived-at: Mon, 09 May 2016 14:05:14 -0000 --001a1143001cc1598b0532694b23 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable True, but bookmarks allow for additional actions. I read that the user wants something else to happen than just jump to page. On Mon, May 9, 2016 at 9:59 AM, Tilman Hausherr wrote: > Am 09.05.2016 um 15:46 schrieb Brzrk One: > >> Or use bookmarks, perhaps? >> > > These do also use destinations. > > Tilman > > > >> On Mon, May 9, 2016 at 9:44 AM, Tilman Hausherr >> wrote: >> >> No. Named destinations mean that the name is looked up to get the >>> "classic" destination. >>> >>> I think you can get something similar to what you want with one of the >>> PDPageDestination classes. >>> >>> Tilman >>> >>> Am 09.05.2016 um 14:24 schrieb Croe.David: >>> >>> thanks Tilman, >>>> >>>> is there is no concept like in html where anchors can reference any >>>> element with an id? >>>> It seems to be either an page or a rectangle on the screen, is there n= o >>>> way to reference a particular >>>> text , perhaps with named destinations ? >>>> >>>> best regards, >>>> David >>>> >>>> -----Urspr=C3=BCngliche Nachricht----- >>>> Von: Tilman Hausherr [mailto:THausherr@t-online.de] >>>> Gesendet: Montag, 9. Mai 2016 08:41 >>>> An: users@pdfbox.apache.org >>>> Betreff: Re: help with api usage (inline link target) >>>> >>>> This is similar, you use one of the other PDPageDestination classes. >>>> (PDPageFitDestination >>>> < >>>> >>>> https://pdfbox.apache.org/docs/2.0.0/javadocs/org/apache/pdfbox/pdmode= l/interactive/documentnavigation/destination/PDPageFitDestination.html >>>> >>>>> , >>>>> >>>> PDPageFitHeightDestination >>>> < >>>> >>>> https://pdfbox.apache.org/docs/2.0.0/javadocs/org/apache/pdfbox/pdmode= l/interactive/documentnavigation/destination/PDPageFitHeightDestination.htm= l >>>> >>>>> , >>>>> >>>> PDPageFitRectangleDestination >>>> < >>>> >>>> https://pdfbox.apache.org/docs/2.0.0/javadocs/org/apache/pdfbox/pdmode= l/interactive/documentnavigation/destination/PDPageFitRectangleDestination.= html >>>> >>>>> , >>>>> >>>> PDPageXYZDestination >>>> < >>>> >>>> https://pdfbox.apache.org/docs/2.0.0/javadocs/org/apache/pdfbox/pdmode= l/interactive/documentnavigation/destination/PDPageXYZDestination.html >>>> >>>>> ) >>>>> >>>> Yours is probably PDPageFitRectangleDestination < >>>> >>>> https://pdfbox.apache.org/docs/2.0.0/javadocs/org/apache/pdfbox/pdmode= l/interactive/documentnavigation/destination/PDPageFitRectangleDestination.= html >>>> >>>>> . >>>>> >>>> See table 151 in the 32000 PDF specification. >>>> >>>> >>>> https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF3200= 0_2008.pdf >>>> >>>> Tilman >>>> >>>> Am 09.05.2016 um 08:25 schrieb Croe.David: >>>> >>>> thank you for the example and the fast reply! >>>>> your example shows how to create a page link. Sorry I didn't explain >>>>> the >>>>> kind of link very well. what I need is an inline link to a paragraph = or >>>>> section/text fragment. What is the corresponding PD* class for that >>>>> kind of >>>>> link? >>>>> >>>>> best regards >>>>> David >>>>> >>>>> -----Urspr=C3=BCngliche Nachricht----- >>>>> Von: Tilman Hausherr [mailto:THausherr@t-online.de] >>>>> Gesendet: Samstag, 7. Mai 2016 14:17 >>>>> An: users@pdfbox.apache.org >>>>> Betreff: Re: help with api usage (inline link target) >>>>> >>>>> Am 06.05.2016 um 16:28 schrieb Tilman Hausherr: >>>>> >>>>> Tell me if it works... I think we should improve the >>>>>> AddAnnotations.java example with an example to jump to a page. >>>>>> >>>>>> done. >>>>> >>>>> https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org= / >>>>> apache/pdfbox/examples/pdmodel/AddAnnotations.java?view=3Dmarkup&path= rev >>>>> =3D1742703 >>>>> >>>>> >>>>> look for "Jump to page three" at three places in the source code. >>>>> >>>>> ____________________________________________________________ >>>>> >>>>> [https://www.inside-online.de/mail/footer/anbieter_des_jahres.jpg]>>>> p://www.inside-online.de/de/pressemeldungen-news/anbieter-des-jahres-= 2 >>>>> 016.html?utm_source=3DSignatur&utm_medium=3DE-Mail&utm_campaign=3DSig= natur-A >>>>> nbieter-des-Jahres> Danke an unsere Kunden f=C3=BCr die Wahl zum Anbi= eter >>>>> des Jahres 2016! >>>>> Kontaktieren Sie uns >>>>> hier< >>>>> >>>>> http://www.inside-online.de/de/kontaktieren.html?utm_source=3DSignatu= r&utm_medium=3DE-Mail&utm_campaign=3DSignatur-Anbieter-des-Jahres >>>>> > >>>>> und erfahren Sie, warum uns unsere Kunden zum Anbieter des Jahres >>>>> gew=C3=A4hlt >>>>> haben. >>>>> Gerne sprechen wir auch =C3=BCber Ihr E-Learning-Projekt! >>>>> ____________________________________________________________ >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>>>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>> >>>> >>>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>> For additional commands, e-mail: users-help@pdfbox.apache.org >>> >>> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org > > --001a1143001cc1598b0532694b23--