Using fop 20.5 we have created a table of contents with paragraph
numbering, title, leaders (...........) and page number. But to take the
link created with fo:basic-link we can only click on the paragraph
numbering or the title. How do you create the link so that by clicking
anywhere (on the paragraph numbering, title, leaders or the page number)
to take the link?

[ link is good here   ] [
link won't work here
]
1 - A link to a page
........................................................................
........................................................1


The way the code looks it should include the leaders and the page
number.

<fo:basic-link internal-destination="{generate-id(.)}">
      <xsl:value-of select="concat(@objectnumber, ' - ', $objhead )"/>
      <xsl:text> </xsl:text>
      <fo:leader leader-length.minimum="1pt"
leader-length.optimum="40pt" leader-length.maximum="100%"
leader-pattern="dots"/>
      <xsl:text>  </xsl:text>
      <fo:page-number-citation ref-id="{generate-id(.)}" />
</fo:basic-link>


Thanks for the help


Patrick Talken
Smiths Aerospace
Electronic Systems - Grand Rapids
[EMAIL PROTECTED]


******************************************
The information contained in, or attached to, this e-mail, may contain 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and may be subject to legal privilege.  If 
you have received this e-mail in error you should notify the sender immediately 
by reply e-mail, delete the message from your system and notify your system 
manager.  Please do not copy it for any purpose, or disclose its contents to 
any other person.  The views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of the company.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.
******************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to