Hi Guys,
If anyone has any comment to make on this before I send another request
for clarification to [EMAIL PROTECTED]
fo:table-row does not generate any area, so the text in section 4.8,
“Keeps and Breaks” doesn’t really apply to this element.
The question is: if keep-with-next is set on fo:table-row, shall we
consider that this is equivalent to setting keep-with-next to the last
child block of /every/ cell ending on this row, or that this is enough
if at least one table-cell ending on this row is not trailing in the
applicable reference area?
Illustration:
<fo:table-row keep-with-next="always">
<fo:table-cell>
<fo:block>Cell 1.1 Line 1</fo:block>
<fo:block>Cell 1.1 Line 2</fo:block>
<fo:block>Cell 1.1 Line 3</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Cell 1.2 Line 1</fo:block>
<fo:block>Cell 1.2 Line 2</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>Cell 2.1 Line 1</fo:block>
<fo:block>Cell 2.1 Line 2</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Cell 2.2 Line 1</fo:block>
<fo:block>Cell 2.2 Line 2</fo:block>
</fo:table-cell>
</fo:table-row>
Is the following rendering correct:
_____________________________________
| | |
| Cell 1.1 Line 1 | Cell 1.2 Line 1 |
| Cell 1.1 Line 2 | Cell 1.2 Line 2 |
--------------------------------------- Page break
| Cell 1.1 Line 3 | |
|_________________|_________________|
| | |
| Cell 2.1 Line 1 | Cell 2.2 Line 1 |
| Cell 2.1 Line 2 | Cell 2.2 Line 2 |
|_________________|_________________|
or can it only be like the following:
_____________________________________
| | |
| Cell 1.1 Line 1 | Cell 1.2 Line 1 |
--------------------------------------- Page break
| Cell 1.1 Line 2 | Cell 1.2 Line 2 |
| Cell 1.1 Line 3 | |
|_________________|_________________|
| | |
| Cell 2.1 Line 1 | Cell 2.2 Line 1 |
| Cell 2.1 Line 2 | Cell 2.2 Line 2 |
|_________________|_________________|
Personally I’d go with the first possibility.
Thanks,
Vincent
--
Vincent Hennebert Anyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting