Hi Matthew,

You're right, it really shoulldn't do this. However you can keep it from
doing it by putting the keep-together="always" attribute on the
table-row containing the cell which is breaking. Keep-together doesn't
work yet for block, but at least in this case, it does for table-row.

Like this:
    <fo:table-row keep-together="always">
      <fo:table-cell number-rows-spanned="3" display-align="center"
text-align="left"                 border-width="1pt"
border-color="black" border-style="solid" >
        <fo:block>Total</fo:block>
      </fo:table-cell>
      <fo:table-cell display-align="center" text-align="left" 
border-width="1pt"                      border-color="black"
border-style="solid">
        <fo:block>More Budget Data</fo:block>
      </fo:table-cell>
      ............
HTH,
Karen

Matthew Mastracci wrote:
> 
> I posted this to the fop-user list, but I think it might be better to
> post it here.
> 
>   ------------------------------------------------------------------------
> 
> Subject: BUG? Row data breaks over a page within a column
> Date: Thu, 07 Mar 2002 13:08:30 -0700
> From: Matthew Mastracci <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 
> I think I mave have encountered a bug.  The attached XSL:FO file renders
> in what I think is an incorrect manner with FOP 0.20.3.
> 
> The column itself ends up being split across two pages.  The row,
> however, contains a column with "number-rows-spanned".  I thought that a
> column with "number-rows-spanned" would be kept together across a page
> break- breaking in the middle of the row seems to be an error.  I've
> tried adding the keep-together="always" attribute and it still seems not
> to work.
> 
> The column cells with borders are where I think the problem is.
> 
> Thanks!
> Matt

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to