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 fr...@gerling.com on 2002/09/16 18:10:07 UTC

Empty rows in a table.

Hi,

I'm not able to find information for a very simple issue : 
How can I insert blank rows (in order to separate block of text) in a table.
This is needed for our third app which uses fop to render the final
document.
In addition, I just want to thank people who helped me, so i was able to
release two apps used by people in my company.
Thanks.

Re: Empty rows in a table.

Posted by m....@gmx.de.
Try this:

     <fo:table-row>
             <fo:table-cell>
                 <fo:block>&#160;</fo:block>
             </fo:table-cell>
     </fo:table-row>


HTH 

Markus Schäffler



> Hi,
> 
> To add a blank row in a table you just have to add a row with a empty
> block
> :
> 
>     <fo:table-row>
>             <fo:table-cell>
>                 <fo:block/>
>             </fo:table-cell>
>     </fo:table-row>
> 
> It's a simple solution, but it works. You can play with the length of the
> separation in addition of the parameter " padding-before"  of th e
> table-cell. By example, if you want to have a separation of 1cm, you write
> :
> 
>     <fo:table-row>
>             <fo:table-cell padding-before="1cm">
>                 <fo:block/>
>             </fo:table-cell>
>     </fo:table-row>
> 
> Good chance,
> 
> Michel.
> 
> 
> ----- Original Message -----
> From: <fr...@gerling.com>
> To: <fo...@xml.apache.org>
> Sent: Monday, September 16, 2002 6:10 PM
> Subject: Empty rows in a table.
> 
> 
> > Hi,
> >
> > I'm not able to find information for a very simple issue :
> > How can I insert blank rows (in order to separate block of text) in a
> table.
> > This is needed for our third app which uses fop to render the final
> > document.
> > In addition, I just want to thank people who helped me, so i was able to
> > release two apps used by people in my company.
> > Thanks.
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


Re: Empty rows in a table.

Posted by TRAFARSKI Michel <mi...@c-s.fr>.
Hi,

To add a blank row in a table you just have to add a row with a empty block
:

    <fo:table-row>
            <fo:table-cell>
                <fo:block/>
            </fo:table-cell>
    </fo:table-row>

It's a simple solution, but it works. You can play with the length of the
separation in addition of the parameter " padding-before"  of th e
table-cell. By example, if you want to have a separation of 1cm, you write :

    <fo:table-row>
            <fo:table-cell padding-before="1cm">
                <fo:block/>
            </fo:table-cell>
    </fo:table-row>

Good chance,

Michel.


----- Original Message -----
From: <fr...@gerling.com>
To: <fo...@xml.apache.org>
Sent: Monday, September 16, 2002 6:10 PM
Subject: Empty rows in a table.


> Hi,
>
> I'm not able to find information for a very simple issue :
> How can I insert blank rows (in order to separate block of text) in a
table.
> This is needed for our third app which uses fop to render the final
> document.
> In addition, I just want to thank people who helped me, so i was able to
> release two apps used by people in my company.
> Thanks.