W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2002

Re: Truncating table values

From: Nandina Srinivas <srinandina@metricstream.com>
Date: Thu, 06 Jun 2002 16:40:02 +0530
Message-ID: <3CFF430A.6070706@metricstream.com>
To: "Ruane, Conleth" <conleth.ruane@hp.com>
CC: www-xsl-fo@w3.org


Ruane,

There is something called wrap-option property in fo:block.
Try to set  wrap-option= no-wrap.
May be it will work.
You can find more complete information at the link below.
http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#wrap-option

Regards,
Srinivas


Ruane, Conleth wrote:

>
>
>Hi all.
>
>I'm trying to generate a table with fixed column width where data can be expected to be sometimes too long for the cell. As long as the individual words of the value are shorter than the column width the text is wrapped, (I'd prefer to truncate it but I can live with wrapping) but if any words of the text are longer than the column width those words overflow into the next column. I've tried playing with various attributes at column, cell and block level but I can't get the output I want.
>
>Has anyone got any ideas?
>
>I'm using the latest version of FOP.
>
>Thanks.
>
>Conleth Ruane
>Telephone: +49-89-9392-4393
>mailto:Conleth.Ruane@non.hp.com
>
>
>
>  
>
Received on Thursday, 6 June 2002 07:07:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT