"J.Pietschmann" <[EMAIL PROTECTED]> schrieb am 01.09.2004 22:48:17:

> > <fo:block text-align="justify">
> > TEST TEST TEST TEST TEST ..... ENOUGH TEXT TO FORMAT INTO MULTIPLE 
LINES 
> > .... TEST ENDS A. 
> > <fo:block>
> ...
> > In the example, line 2 is neither the last nor the only line of a 
block, 
> > and it's also not a line ending in U+000A, so it should be justified.
> 
> It is the last line in the block. Trailing whitespace util the
> closing tag is normalized away (or should be, FOP shows bugs here).
> Why do you think it is otherwise?

Hm, I think it's not the last line of the block. Let's see my example 
again, but this time with ids:

<fo:block id="outer" text-align="justify">
TEST TEST TEST TEST TEST ..... ENOUGH TEXT TO FORMAT INTO MULTIPLE LINES 
.... TEST ENDS A. 
<fo:block id="inner">
whatever
</fo:block>
TEST TEST TEST TEST TEST ..... ENOUGH TEXT TO FORMAT INTO MULTIPLE LINES 
.... TEST ENDS B.
</fo:block>

The line 2 (.... TEST ENDS A.) is the last line before the block "inner" 
starts, but it's not the last line of the block with id "outer". The last 
line of the block "outer" is: (.... TEST ENDS B.).

Get my point, or am I still being unclear?

Can we safely assume the rec. means "block area" here instead of just 
"block"? I think we can't, since then that would mean that the last line 
on a page (or column) would also be formatted left-aligned instad of 
justified even if it's not the last line of the block ("block" as in 
"fo:block").

Thanks for any input,

Arnd
-- 
Arnd Beißner
Cappelino Informationstechnologie GmbH

Reply via email to