You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Sandy McArthur <sa...@ufl.edu> on 2002/05/10 23:46:31 UTC

fo:leader and line wrapping

I'm having a problem when using fo:leader in my table of contents. The 
problem is the page number is being wrapped to the next line which 
doesn't work.

I've attached the relavent fo in a file and the output pdf. I think the 
releant lines are below. If someone could tell me if I'm doign this 
wrong or if it's fop's fault I'd really appreaciate it. Also any tips to 
fix it would be nice.

<fo:block border-right-color="black" border-right-style="solid" 
border-right-width="thin" border-left-color="black" 
border-left-style="solid" border-left-width="thin" 
border-bottom-color="black" border-bottom-style="solid" 
border-bottom-width="thin" border-top-color="black" 
border-top-style="solid" border-top-width="thin" 
last-line-end-indent="-24pt" end-indent="24pt" text-align-last="justify" 
keep-together.within-line="always">
   <fo:basic-link keep-together.within-line="always" 
internal-destination="N40000A">
     <fo:inline keep-together.within-line="always">1. Introduction 
<fo:leader keep-with-next.within-line="always" 
keep-with-previous.within-line="always" leader-pattern="dots"/> 1.1
     </fo:inline>
   </fo:basic-link>
</fo:block>



Thanks in advance,

Sandy McArthur