Luca Furini wrote:

> The method PageNumberCitationLM.get() allocates the width of 
> the string 
> "MMM" if the id is not already known;

Could a FOP extension element be added to indicate how many pages the
document is likely to be, and allocate the initial width based on that?

Such an extension would also be useful in two-pass rendering, as the element
could be assigned the value of a parameter that defaults to an initial guess
or rough calculation, and in the second pass is overwritten with a more
accurate value.

Incidentally, are there any workarounds for right aligning "Page X of Y" in
a block in a cell in a row in a table so that it is correctly right aligned
with other table rows, even when there are not between 100 and 999 pages in
the output?

Stephen Denne.

Reply via email to