On Wednesday, November 13, 2013 03:21:47 am Ognjen Blagojevic wrote:
> Hi,
> 
> I need to create leaders for TOC. I started with researching FOP
> examples (examples/fo/basic/leaders.fo), but the generated PDF doesn't
> contain expected results.
> 
> In section "Table of Contents" I get only one dot:
> 
> A)This is some longer sample text.           1
> B)Some text.                                 2
> C)Text.                                      3
> 
> 
> While I would expect to get this:
> 
> A)This is some longer sample text............1
> B)Some text..................................2
> C)Text.......................................3
> 
> 
> Are my expectations too high?

Hard to say, since you didn't attach neither sample FO code, nor the resulting 
PDF. Leaders work for me with 1.1 on multiple Java versions, 1.6.x and 1.7.x.

Here's an example fo:leader I am using:

 <fo:leader padding-left="4pt" padding-right="4pt"
   leader-pattern="dots" leader-pattern-width="3pt"
   leader-alignment="reference-area" keep-with-next.within-line="always"/>


Regards,
Alexey.

> 
> I tested with FOP 0.93, 0.95, 1.0, 1.1 and nightly 20131113 on Windows 7
> 64-bit, and CentOS 5.9 64-bit, and Java 1.7.0_40.
> 
> -Ognjen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to