W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2011

RE: PDF Open Parameters and linking to external pdf and named anchor

From: Mario Madunic <Mario_Madunic@newflyer.com>
Date: Tue, 22 Feb 2011 13:20:31 -0600
To: "G. Ken Holman" <gkholman@CraneSoftwrights.com>, "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
Message-ID: <246DE0E0EA0D6942B5426733426721228282C1@NFIL050.newflyer.com>
Created a basic link and no luck there. The same with from a browser. Right now I'm putting this one down to support for Open Parameters. I've had no luck using them and alas must move on. We'll create the links to external document named destinations manually.

Thanks Ken for the ideas on finding out where the problem might lie.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On Behalf Of G. Ken Holman
Sent: Tuesday, February 22, 2011 11:27 AM
To: www-xsl-fo@w3.org
Subject: Re: PDF Open Parameters and linking to external pdf and named anchor

The "file does not exist" error makes me think this is a reader
problem trying to traverse the link, not an AHF or XSL-FO problem.

Have you tried creating a regular <fo:basic-link> in the text and
seeing if that link works?  That would indicate if it is a general
problem or only a problem with bookmarks.

Have you tried the link from a browser?

You state the URI is valid without the anchor.  I would try producing
the PDF without the anchor, editing the PDF to hack the anchor into
the link address, and then trying to see if that link worked.

It could be that XSL-FO and the formatter are all creating the PDF
exactly the way you want, but that way isn't supported by the reader.

I hope this helps diagnose where the problem lies.

. . . . . . . . . Ken

At 2011-02-22 10:43 -0600, Mario Madunic wrote:
>Can't seem to get the PDF Open Parameter nameddest working. I have
>the following bit of FO (and am using AHF 5)
><fo:bookmark external-destination="serv.pdf#nameddest=_1-FrontAxleSuspension">
>    <fo:bookmark-title>SERVICE</fo:bookmark-title>
>The id exists in the destination pdf (serv.pdf) but get an error
>message stating that the file does not exist. Both files are sitting
>in the same directory and have checked that the anchor (named
>destination) exists, which it does. Am I missing something? The URI
>is valid and when I test the link without the anchor it opens the
>serv.pdf no problem.

Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
Received on Tuesday, 22 February 2011 19:21:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:34 UTC