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 Ashish Kulkarni <as...@gmail.com> on 2011/02/04 21:55:53 UTC

How to create a border against row

Hi
I need to create a border against one row as shown in screen below, the
sides dont need to be dotted, but solid

Here is what i have

<fo:table width="20cm" table-layout="fixed">
<fo:table-column column-number="1" column-width="11cm" />
<fo:table-column column-number="2" column-width="3cm" />
<fo:table-column column-number="3" column-width="3cm" />
<fo:table-column column-number="3" column-width="3cm" />
<fo:table-body>
<xsl:for-each select="totals/total">
<fo:table-row xsl:use-attribute-sets="table.data.td.noborder" >
<fo:table-cell column-number="1"
xsl:use-attribute-sets="table.data.td.noborder" number-columns-spanned="3">
<fo:block text-align="center">
<xsl:value-of select="description"></xsl:value-of>
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="4"
xsl:use-attribute-sets="table.data.td.noborder">
<fo:block text-align="center">
<xsl:value-of select="format-number(amount,'###,###.00')"></xsl:value-of>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
_______________________________________________________________
|
                                 |
|                   Column1                            Column2
     Column3   |
|                   Row2                                 Row2
         Row2        |
|                   Row3                                 Row3
         Row3        |
|                   Row4                                 Row4
         Row4        |
|______________________________________________________________|
-- 
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com

Re: How to create a border against row

Posted by Ashish Kulkarni <as...@gmail.com>.
Hi
Thanks, it works

On Fri, Feb 4, 2011 at 4:08 PM, Andreas Delmelle <
andreas.delmelle@telenet.be> wrote:

> On 04 Feb 2011, at 21:55, Ashish Kulkarni wrote:
>
> Hi
>
> > I need to create a border against one row as shown in screen below, the
> sides dont need to be dotted, but solid
> >
> > Here is what i have
> >
> > <fo:table width="20cm" table-layout="fixed">
>
> What about just using
>
> <fo:table width="20cm" table-layout="fixed" border="solid 1pt black">
>
> ?
>
>
> Regards,
>
> Andreas
> ---
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>


-- 
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com

Re: How to create a border against row

Posted by Andreas Delmelle <an...@telenet.be>.
On 04 Feb 2011, at 21:55, Ashish Kulkarni wrote:

Hi

> I need to create a border against one row as shown in screen below, the sides dont need to be dotted, but solid
> 
> Here is what i have 
> 
> <fo:table width="20cm" table-layout="fixed">

What about just using

<fo:table width="20cm" table-layout="fixed" border="solid 1pt black">

?


Regards,

Andreas
---


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org