Hi Thomas,

That sounds like a bug, reproduced with latest FOP TRUNK.

I've noticed that the fo:basic-link i-p-d does not fit to the available i-p-d 
when it contains a fo:page-number-citation.
You should fill in a bug report in bugzilla.

For more help, I've shrinked your snippet.

Pascal

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <!-- defines page layout -->
  <fo:layout-master-set>
    <fo:simple-page-master master-name="1" page-height="297mm"
      page-width="210mm" margin-top="2cm" margin-left="1.5cm"
      margin-right="1.5cm">
      <fo:region-body/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  
  <fo:page-sequence master-reference="1">
    <fo:flow flow-name="xsl-region-body">
      <fo:block font-size="30pt">
        Table&#x20;of&#x20;Contents
      </fo:block>
      
      <fo:block font-size="14" text-align-last="justify">
        <fo:basic-link background-color="green" end-indent="0mm"
          internal-destination="_toc_level1_32" border="solid red 1pt">
          Level 1 Text
          <fo:leader leader-pattern="dots"/>
          <fo:page-number-citation ref-id="_toc_level1_32"/>
        </fo:basic-link>
      </fo:block>
      
     <fo:block font-size="14" text-align-last="justify">
        <fo:basic-link background-color="green" end-indent="0mm"
          internal-destination="_toc_level1_32" border="solid red 1pt">
          Level 1 Text
          <fo:leader leader-pattern="dots"/>
        </fo:basic-link>
      </fo:block>
      
      <fo:block break-before="page" id="_toc_level1_32">
        Level 1 Text
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>




> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De 
> la part de Thomas Gelzhaeuser
> Envoyé : lundi 2 avril 2007 14:36
> À : [email protected]
> Objet : basic-link doesn't cover all text inside
> 
> Hi fopsters.
> 
> I'm trying now to create a table of contents in my pdf 
> document by using basic-link and page-number-of-citation as 
> it has been discussed here on the list before.
> 
> Unfortunately, the text of the toc-entry is not completely 
> within the link. Most importantly, the page number is not 
> clickable. Any Ideas why this is so? 
> I attached a smallish example which illustrates what I did.
> 
> Thanks a lot.
> 
> Thomas.


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

Reply via email to