You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Joe Sytniak <jo...@usol.com> on 2002/04/01 22:18:29 UTC

Re: fop-0.20.3: table cell data on same page

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" <ma...@jpl.nasa.gov>
To: <fo...@xml.apache.org>
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:mathy.v.arumugam@jpl.nasa.gov]
> > > Sent: Thursday, March 28, 2002 4:09 PM
> > > To: fop-user@xml.apache.org
> > > 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
> > >
>


Re: fop-0.20.3: table cell data on same page

Posted by Mathy V Arumugam <ma...@jpl.nasa.gov>.
Thanks Joe,

Yes, <.. keep-together="always"> worked!!!!!  Thank you so much!

Mathy

Joe Sytniak wrote:

> 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" <ma...@jpl.nasa.gov>
> To: <fo...@xml.apache.org>
> 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:mathy.v.arumugam@jpl.nasa.gov]
> > > > Sent: Thursday, March 28, 2002 4:09 PM
> > > > To: fop-user@xml.apache.org
> > > > 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
> > > >
> >