[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-dev
Subject: keep-with-next on fo:table-row
From: Vincent Hennebert <vincent.hennebert () anyware-tech ! com>
Date: 2008-02-25 12:30:46
Message-ID: 47C2B4F6.6050806 () anyware-tech ! com
[Download RAW message or body]
Dear XSL Editors,
as fo:table-row does not generate any area, the text in section 4.8,
"Keeps and Breaks" of the XSL-FO 1.1 Recommendation can't be interpreted
as is for 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 on the last
child block of /every/ cell ending on this row? In which case the first
illustration below would not be acceptable.
Or can we consider that this is as if keep-with-next were set on every
fo:table-cell element ending on the row (although keeps don't apply to
fo:table-cell). Then the first illustration below would be acceptable
as, although it would be empty, cell 2.1 would still generate an area on
the second page.
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>
So 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 |
|_________________|_________________|
Thanks,
Vincent Hennebert
--
Vincent Hennebert Anyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic