You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Sander, Stefan" <ss...@microstrategy.com> on 2001/02/05 16:10:44 UTC

[BUG?] Table of Content layout and fo:page-number-citation

Hi there,

I am trying to layout a Table of Contents at the beginning of my document
using some values from the text and fo:page-number-citation for the page
number.

Now, I want the page numbers right aligned (text-align="end"), like:

  1
 10
100

not 
1
10
100

I assigned the fo:block in my table cell holding the fo:page-number-citation
the proper attribute. 
So far, so good. :) But I get some strange behavior.

If the ToC is the first page in the PDF, the page numbers appear
left-aligned on the right end of the cell.

If the ToC is the last page in the PDF, the page numbers appear
right-aligned, just how they should be.

See the modified readme.fo and .pdf attached. --> One ToC at the beginning,
identical code at the end.


Any ideas?

Stefan