Title: keep-with-next workaround with table

I am using FOP 0.20.3.

According to "Features" : http://xml.apache.org/fop/implemented.html and some posts found on Google, the "keep-together" or "keep-with-next" property doesn't work ?

I would share and have advices on the following workaround :  Since <fo:table-row keep-with-next="always"> is working. I put the fo:block I want to keep-together in the rows of a big table.


For example, those 3 blocks are keep together :

        <fo:table>
         <fo:table-column column-width="18cm"/>
         <fo:table-body>
          <fo:table-row keep-with-next="always">
           <fo:table-cell>
                <fo:block>First block<fo:block>
           </fo:table-cell>
          </fo:table-row>
          <fo:table-row keep-with-next="always">
           <fo:table-cell>
                <fo:block>Second block<fo:block>
           </fo:table-cell>
          </fo:table-row>
          <fo:table-row keep-with-next="always">
           <fo:table-cell>
                <fo:block>Third block<fo:block>
           </fo:table-cell>
          </fo:table-row>
         </fo:table-body>
        </fo:table>

Thanks


mailto:[EMAIL PROTECTED]
http://Bruno.Vernay.free.fr/

Reply via email to