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 Emma Larsson <em...@itsip.se> on 2002/04/24 14:35:16 UTC

Border after fo:table-row

Hi,

I want to add a border after each fo:table-row in my fo:table. Is this possible?

/Emma


Re: Border after fo:table-row

Posted by Jozef Chocholacek <Jo...@qbizm.com>.
Emma Larsson wrote:
> I want to add a border after each fo:table-row in my fo:table. Is this possible?

   The proper attribute is "border-bottom", but AFAIK the border 
atribute for table-row is not implemented yet so you must use 
border-bottom="..." for each cell in row.

   But may be I am wrong, I worked with this some 5 months ago so it may 
work now.


   Regards,

J.Ch.
-- 
Ing. Jozef Chocholacek                  Qbizm Technologies, Inc.
Chief Project Analyst                   ... the art of internet.
________________________________________________________________
Kralovopolska 139                          tel: +420 5 4124 2414
601 12 Brno, CZ      http://www.qbizm.com  fax: +420 5 4121 2696


Re: Border after fo:table-row

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Emma Larsson wrote:
> Ok.. But then I have to set these attributes for each cell in each row? There is now way to 
> set the border on the entire row at once?

Yes, setting border properties on a row is not implemented,
one reason being a pending clarification of the spec.

You have to set the border attributes on each cell, and
shift any margins and padding cells might have to the
blocks within the cells.

J.Pietschmann



Re: Border after fo:table-row

Posted by Emma Larsson <em...@itsip.se>.
Ok.. But then I have to set these attributes for each cell in each row? There is now way to 
set the border on the entire row at once?

/Emma

----- Original Message ----- 
From: "Magnus Sjöberg" <ma...@secode.com>
To: <fo...@xml.apache.org>
Sent: Wednesday, April 24, 2002 2:50 PM
Subject: Re: Border after fo:table-row


> You want to specify these attributes for the fo:table-cell
> element:
> 
> border-start-style="solid" 
> border-start-color="black" 
> border-start-width="1pt" 
> border-top-style="solid" 
> border-top-color="black" 
> border-top-width="1pt" 
> border-end-style="solid" 
> border-end-width="1pt" 
> border-end-color="black" 
> border-bottom-style="solid" 
> border-bottom-width="1pt" 
> border-bottom-color="black"
> 
> This will give your cell a 1-point thick, black border.
> 
> By setting only the border-bottom-style/width/color for a
> cell you would achieve a border-like thing.
> 
> hth/// 
> Magnus
> 
> Emma Larsson wrote:
> > 
> > Hi,
> > 
> > I want to add a border after each fo:table-row in my fo:table. Is this possible?
> > 
> > /Emma
> 
> -- 
> 
> Secode - Total Internet Security
> Magnus Sjöberg
> Research And Development
> 
> email: magnus.sjoberg@secode.com
> cell: +46 709 150 710
> POTS: +46 8 564 875 05
> http://www.secode.com
> 
> Internet is to be a safe area for business, transactions and
> information exchange


Re: Border after fo:table-row

Posted by Magnus Sjöberg <ma...@secode.com>.
You want to specify these attributes for the fo:table-cell
element:

border-start-style="solid" 
border-start-color="black" 
border-start-width="1pt" 
border-top-style="solid" 
border-top-color="black" 
border-top-width="1pt" 
border-end-style="solid" 
border-end-width="1pt" 
border-end-color="black" 
border-bottom-style="solid" 
border-bottom-width="1pt" 
border-bottom-color="black"

This will give your cell a 1-point thick, black border.

By setting only the border-bottom-style/width/color for a
cell you would achieve a border-like thing.

hth/// 
	Magnus

Emma Larsson wrote:
> 
> Hi,
> 
> I want to add a border after each fo:table-row in my fo:table. Is this possible?
> 
> /Emma

-- 

Secode - Total Internet Security
Magnus Sjöberg
Research And Development

email: magnus.sjoberg@secode.com
cell: +46 709 150 710
POTS: +46 8 564 875 05
http://www.secode.com

Internet is to be a safe area for business, transactions and
information exchange