W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2006

fo:table-cell seperation with fo:leader dots

From: ruchika thakur <ruchi.thak@gmail.com>
Date: Wed, 12 Jul 2006 11:01:57 +0530
Message-ID: <b574ec1c0607112231s520aff01o50e59d214dfd345c@mail.gmail.com>
To: www-xsl-fo@w3.org

I am trying to use fo:leader dots to seperate table cells(am not
using border). Below is how want to implement it. Please help.
I have a table with say 4 columns.This table is also having
table-header(center aligned). Now I want the text in the middle 2 columns to
be center aligned.  Also i am having no boder for this table, so am
seperating the columns with fo:leader dots. But if using fo:leader dots i
need to use text-align-last="justify", to expand the leader dots, which
restricts me from aligning my text in center. Because if i set
text-align="center", i see only 2-3 dots, but they don't expand.
Below is my code snippet.

 <fo:table-cell text-align-last="justify" column-width=".75in"
 <fo:block hyphenate="true"  text-align-last="justify"

 <fo:leader xsl:use-attribute-sets="LeaderDots"/>
 <xsl:value-of select="@itemprice"/>

Please suggest a solution..
Thanks and Regards,
Received on Wednesday, 12 July 2006 18:07:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:30 UTC