https://issues.apache.org/bugzilla/show_bug.cgi?id=44545


Vincent Hennebert <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Vincent Hennebert <[EMAIL PROTECTED]>  2008-03-06 02:59:37 
PST ---
Hi,

Unfortunately you're hitting a corner case that is not well described by the
XSL-FO Recommendation.

I for myself would say that FOP's behaviour is correct: the row is actually
displayed in only one block on the first page. The content on the second page
actually corresponds to the last two rows. keep-together is an inherited
property but doesn't apply to fo:table-cell, so the fact that cell "1" is split
on two pages would not be wrong.

If you want to have the row-spanning cell kept on one page, set keep-together
on every spanned table-row, plus keep-with-next on each of them but the last
one:
    <fo:table-row keep-together="always" keep-with-next="always">
      <fo:table-cell number-rows-spanned="3" border=".5pt solid black">
        <fo:block>1</fo:block>
      </fo:table-cell>
      <fo:table-cell border=".5pt solid black">
        <fo:block>2.1</fo:block>
      </fo:table-cell>
    </fo:table-row>
    <fo:table-row keep-together="always" keep-with-next="always">
      <fo:table-cell border=".5pt solid black">
        <fo:block>2.2</fo:block>
      </fo:table-cell>
    </fo:table-row>
    <fo:table-row keep-together="always">
      <fo:table-cell border=".5pt solid black">
        <fo:block>2.3</fo:block>
      </fo:table-cell>
    </fo:table-row>

I'm leaving this bug open and ask for other opinions on this topic. But this is
probably a candidate for another request for clarification to [EMAIL PROTECTED]

Vincent Hennebert


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to