I've used keep-together="always" successfully.

This works fine for me.


      <fo:table-row keep-together="always">
       <fo:table-cell>
        <fo:block>
                    .............................
        </fo:block>
       </fo:table-cell>
      </fo:table-row>



----- Original Message -----
From: "Mathy V Arumugam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 28, 2002 5:05 PM
Subject: Re: fop-0.20.3: table cell data on same page


> Hmmmmm.. still does not work.. What is really wrong with my code then????
>
>
> "Matthew L. Avizinis" wrote:
>
> > I've found that you have to have
> >  <fo:table-row keep-with-next="always">
> >          <fo:table-cell ><fo:block>...</fo:block></fo:table-cell>
> >  </fo:table-row>
> >  <fo:table-row keep-with-previous="always">
> >          <fo:table-cell ><fo:block>...</fo:block></fo:table-cell>
> >  </fo:table-row>
> > for it to work properly.
> > hth
> >
> > > -----Original Message-----
> > > From: Mathy V Arumugam [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, March 28, 2002 4:09 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: fop-0.20.3: table cell data on same page
> > >
> > >
> > > Hi all,
> > >
> > > How can I prevent the table cells from splitting on page break?
> > >
> > > I thought the following should prevent the table cells from splitting
on
> > >
> > > page boundaries...but, does not work for me....
> > >
> > > <fo:table-cell keep-together.within-page="always">
> > >         <fo:block>....</fo:block>
> > >    </fo:table-cell>
> > >
> > > I have also tried:
> > > <fo:table-row keep-with-next="always">
> > >         <fo:table-cell ><fo:block>...</fo:block></fo:table-cell>
> > > </fo:table-row>
> > >
> > > Thanks
> > > Mathy
> > >
>

Reply via email to