You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by William Brogden <wb...@bga.com> on 2005/03/29 02:28:48 UTC

Creating named anchor spots

  I would like to be able to generate a document that has
anchor locations that you can jump to from an HTML href
like this:

href="printables.pdf#Test"

The names used in internal links like:
<basic-link internal-destination="Test" >
don't seem to work. How can I generate a marker that
will be externally visible?

Bill


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Creating named anchor spots

Posted by Victor Mote <vi...@outfitr.com>.
William Brogden wrote:

>   I would like to be able to generate a document that has 
> anchor locations that you can jump to from an HTML href like this:
> 
> href="printables.pdf#Test"
> 
> The names used in internal links like:
> <basic-link internal-destination="Test" > don't seem to work. 
> How can I generate a marker that will be externally visible?

Actually, what you need is something to identify the target, not the link.
The basic mechanism is the "id" property that is available on most objects,
but you also need to tell FOP to create a "destination":
http://xml.apache.org/fop/extensions.html#named-destinations

Victor Mote


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org