I'm using the same FOP version. If I look at the following code snippet,
this table row should never stand alone at the end of a page, but this is
exactly what happens (and not only once, but in many places over the entire
document. I assume that the property doesn't work in every case, but is
there any other way/solution?


- <fo:table-row keep-together="always" keep-with-next="always" height="30pt"
font-weight="bold" font-size="10pt">
- <fo:table-cell>
- <fo:block>
- <fo:table font-size="10pt" border-style="none">
  <fo:table-column column-width="1.2cm" /> 
  <fo:table-column column-width="15.8cm" /> 
- <fo:table-body>
- <fo:table-row>
- <fo:table-cell>
  <fo:block /> 
- <fo:table-cell>
  <fo:block>JUSTICE, POLICE ET SECURITE* (DJPS)</fo:block> 
- <fo:table-row font-weight="normal">
  <fo:table-cell /> 
- <fo:table-cell>
  <fo:block>(Titulaire: Mme Spoerri Micheline; suppléant: M. Laurent

-----Message d'origine-----
De : Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Envoyé : mardi, 25. juin 2002 09:31
Objet : Re: keep-with-.. property

On Tuesday 25 June 2002 08:58, Hahn Kurt (CHA) wrote:
>. . .
> Is there another reason why my
> example here doesn't keep the rows together?

I don't know exactly what is supposed to work or not, but here we've been 
successfully using the following constructs with FOP 0.20.3rc:

<fo:table-row keep-with-previous="always" keep-together="always">
<fo:table-row keep-with-next="always" keep-together="always">
<fo:table-row keep-with-previous="always">

Note however that bug 7449 is not fixed yet: rows that do not fit on one
cause infinite loops


Reply via email to