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 Jukka Ignatius <ju...@napa.fi> on 2005/09/02 16:35:59 UTC
fo:basic-link over an fo:leader
Hi there!
First of all, it was cool to see the updated comliance page, and to
notice, that the trunk supports the long awaited keeps, orphans and
widows! (Well at least we're waiting for them :)
But at the moment i'm still using 0.20.5, and i'm having trouble
creating links in my PDF's TOC. The generated fo for one TOC item is as
follows:
<fo:list-item>
<fo:list-item-label start-indent="0.5cm" end-indent="label-end()">
<fo:block font-family="Times" font-size="10pt">1 </fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="1.5cm">
<fo:block font-family="Times" font-size="10pt"
text-align-last="justify">
<fo:basic-link color="blue" internal-destination="N131081-1">
Installation
<fo:leader leader-pattern="dots"
leader-pattern-width="5pt"
leader-alignment="reference-area"
/>
<fo:page-number-citation ref-id="N131081-1"/>
</fo:basic-link>
</fo:block>
</fo:list-item-body>
</fo:list-item>
The output renders totally correctly (the whole row is e.g. blue and
looks something like
1 Installation . . . . . . . . . . . . . . . . . . . . 2
But the links work only approx. on the following area:
1 Installation . . . . . . . . . . . . . . . . . . . . 2
^^^^^^^^^^^^^^^
So the link is kinda extended the amount of the page-number-citation
immediately after the Installation -text. I would like to have the link
working on the whole row:
1 Installation . . . . . . . . . . . . . . . . . . . . 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Am I doing something wrong, or...?
Regards,
Jukka Ignatius
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fo:basic-link over an fo:leader
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Jukka Ignatius wrote:
> But the links work only approx. on the following area:
>
> 1 Installation . . . . . . . . . . . . . . . . . . . . 2
> ^^^^^^^^^^^^^^^
Neither leaders nor page number citations (as well as a few other FO)
generate hot spot areas in FOP 0.20.5. There isn't much you can do
about this.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org