We had the same problem you had, Phil. I admit, the output is not too
representable due to this (among other) problems of FOP. Another problem
would be that, if you use a filler of type ".....", it assumes a fix width.
It does not seem to be able to fill out the variable space between the text
of a TOC heading and the corresponding page number, like is shown in the
following example:

Long text long text ..................... 12
Short text .............................. 18

Matthias



-----Original Message-----
From: Philip Harling [mailto:[EMAIL PROTECTED]]On Behalf Of Phillip
Harling
Sent: Friday, December 07, 2001 6:11 PM
To: [EMAIL PROTECTED]
Subject: page-number-citation and formatting


I'm having a small problem when using <fo:page-number-citation/> and
formatting.  I am generating a table of contents using a table, and wish to
right align the page numbers.  If the table of contents appears at the
beginning of the document, the numbers don't get right-aligned, but if the
table of contents appears at the end of the document then they get aligned
correctly.

What appears to be happening is that if a forward reference is made to a
page citation then fop doesn't know how big the page number will be and
doesn't allocate any area for it.  If the page number is known, then the
space it allocates is known and correct alignment can occur.

I've had a look at org.apache.fop.fo.flow.PageNumberCitation and this seems
to bear up to the analysis.

Has anyone else experienced this problem and if so, do you have a
work-around?

Phil.



--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



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


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

Reply via email to