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 3D06B4167 for ; Tue, 21 Jun 2011 13:49:15 +0000 (UTC) Received: (qmail 32280 invoked by uid 500); 21 Jun 2011 13:49:15 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 32267 invoked by uid 500); 21 Jun 2011 13:49:15 -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 32245 invoked by uid 99); 21 Jun 2011 13:49:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 13:49:14 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.35.17.14] (HELO david.siemens.de) (192.35.17.14) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 13:49:05 +0000 Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.13.6/8.13.6) with ESMTP id p5LDmhtm006988 for ; Tue, 21 Jun 2011 15:48:43 +0200 Received: from DEMCHP99ET2MSX.ww902.siemens.net (demchp99et2msx.ww902.siemens.net [139.25.131.241]) by mail1.siemens.de (8.13.6/8.13.6) with ESMTP id p5LDmhku026869 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 21 Jun 2011 15:48:43 +0200 Received: from DEMCHP99ET4MSX.ww902.siemens.net (139.25.131.174) by DEMCHP99ET2MSX.ww902.siemens.net (139.25.131.241) with Microsoft SMTP Server (TLS) id 8.3.106.1; Tue, 21 Jun 2011 15:48:42 +0200 Received: from DEMCHP99E15MSX.ww902.siemens.net ([169.254.2.91]) by DEMCHP99ET4MSX.ww902.siemens.net ([139.25.131.174]) with mapi; Tue, 21 Jun 2011 15:48:43 +0200 From: "Friedrich, Christian (ext)" To: "users@pdfbox.apache.org" Date: Tue, 21 Jun 2011 15:48:41 +0200 Subject: PDActionRemoteGoTo Thread-Topic: PDActionRemoteGoTo Thread-Index: AcwwGe4ymcfyzfBtSv6Udu5f0EJafw== Message-ID: <793770DF3CA65144A070BC32B71359A7197D621FF0@DEMCHP99E15MSX.ww902.siemens.net> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: multipart/alternative; boundary="_000_793770DF3CA65144A070BC32B71359A7197D621FF0DEMCHP99E15MS_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_793770DF3CA65144A070BC32B71359A7197D621FF0DEMCHP99E15MS_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Guys, Currently I'm using the PDActionRemoteGoTo Class to create links to pages i= n external documents. This works fine with this piece of code: > PDActionRemoteGoTo go =3D new PDActionRemoteGoTo(); > go.setFile(PDFileSpecification.createFS((new COSString("C:/somePDF.pdf= ")))); > COSArray ca =3D new COSArray(); > ca.add(COSInteger.get(2)); > go.setD(ca); > go.setOpenInNewWindow(true); The PDF "C:/somePDF.pdf" opens at page 3 when the action is triggered. The only problem is that the default view after clicking the link shows the= document with a zoom of 6400%. I would like to view the page in a suitable= size (page view). How do I add this parameter to the PDActionRemoteGoTo ob= ject? The only way I could imagine this could work is adding the informatio= n somehow to the COSArray, but how? Mit freundlichen Gr=FC=DFen Christian Friedrich Forschungszentrum Informatik Externer Dienstleister der Siemens AG Corporate Technology CT T DE TC2 Otto-Hahn-Ring 6 81739 M=FCnchen, Deutschland Tel.: +49 (89) 636-32801 mailto:friedrich.christian.ext@siemens.com Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen enthalten firmenvertrau= liche Informationen. Sollten Sie diese E-Mail irrt=FCmlich erhalten haben, = benachrichtigen Sie uns bitte durch Antwort-Mail und l=F6schen Sie diese E-= Mail nebst Anlagen von Ihrem System. Vielen Dank. --_000_793770DF3CA65144A070BC32B71359A7197D621FF0DEMCHP99E15MS_--