xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Ignatius" <jukka.ignat...@napa.fi>
Subject fo:basic-link over an fo:leader
Date Fri, 02 Sep 2005 14:35:59 GMT
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


Mime
View raw message