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 "Talken, Patrick (AGRE)" <pa...@smiths-aerospace.com> on 2004/12/10 14:54:33 UTC
Table of Contents with leaders
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
patrick.talken@smiths-aerospace.com
******************************************
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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Table of Contents with leaders
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Talken, Patrick (AGRE) wrote:
> 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?
I'm afraid link hotspot areas are not generated for the leaders. Same
for page number citations and fo:character.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org