RE: How to link to named target in PDF

Subject: RE: How to link to named target in PDF
From: "Joel Amoussou" <joel -at- efasoft -dot- com>
To: "'John Cornellier'" <jcornellier -at- abingdon -dot- oilfield -dot- slb -dot- com>, <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Fri, 9 Dec 2005 12:17:52 -0500

John,

There are different ways of doing this depending on the tools and XML
standards you are using. A standardized way would be:

1. Tag the XML link with Xlink:

<link
xlink:href='http://www.xyz.com/productz.pdf#namedest=named_destination'> or
<link xlink:href='http://www.xyz.com/productz.pdf#page=x'>

2. Transform the XML for product Q into an XSL Formatting Objects (FO)
document:

You will need to create an XSLT transformation like:

<xsl:template match="link">
<fo:basic-link color="blue">
<xsl:attribute name="external-destination">
<xsl:value-of select="@xlink:href"/>
</xsl:attribute>
<xsl:apply-templates select="*|text()"/>
</fo:basic-link>
</xsl:template>

The result will be: <fo:basic-link color="blue"
external-destination="http://www.xyz.com/productz.pdf#namedest=named_destina
tion">

3. Use an FO engine like Apache FOP to generate a PDF from the XSL FO
document. The result PDF will contain the appropriate link.


Regards,

Joel Amoussou
Efasoft
S1000D Solutions
http://www.efasoft.com


-----Original Message-----
From: techwr-l-bounces+joel=efasoft -dot- com -at- lists -dot- techwr-l -dot- com
[mailto:techwr-l-bounces+joel=efasoft -dot- com -at- lists -dot- techwr-l -dot- com] On Behalf Of
John Cornellier
Sent: Friday, December 09, 2005 11:11 AM
To: techwr-l -at- lists -dot- techwr-l -dot- com
Subject: How to link to named target in PDF

Hi,

We have documents about Product Z that are produced from Frame to PDF.

We want to create other documents for Product Q in XML, render them into
PDF, and have links in this PDF that refer and open the Product Z
documentation at a given place (not just page 1).

How to do this?

Thanks
John
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Now Shipping -- WebWorks ePublisher Pro for Word! Easily create online Help.
And online anything else. Redesigned interface with a new project-based
workflow. Try it today! http://www.webworks.com/techwr-l

Doc-To-Help 2005 now has RoboHelp Converter and HTML Source: Author content
and configure Help in MS Word or any HTML editor. No proprietary editor!
*August release. http://www.componentone.com/TECHWRL/DocToHelp2005

---
You are currently subscribed to TECHWR-L as joel -at- efasoft -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit
http://lists.techwr-l.com/mailman/options/techwr-l/joel%40efasoft.com

Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Now Shipping -- WebWorks ePublisher Pro for Word! Easily create online
Help. And online anything else. Redesigned interface with a new
project-based workflow. Try it today! http://www.webworks.com/techwr-l

Doc-To-Help 2005 now has RoboHelp Converter and HTML Source: Author
content and configure Help in MS Word or any HTML editor. No
proprietary editor! *August release. http://www.componentone.com/TECHWRL/DocToHelp2005

---
You are currently subscribed to TECHWR-L as archive -at- infoinfocus -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40infoinfocus.com

Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.


References:
How to link to named target in PDF: From: John Cornellier

Previous by Author: RE: Are You Using Structured Framemaker?
Next by Author: RE: xMetal
Previous by Thread: How to link to named target in PDF
Next by Thread: re: How to link to named target in PDF


What this post helpful? Share it with friends and colleagues:

Sponsored Ads


Sponsored Ads