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

RE: Truncating table values

From: Ruane, Conleth <conleth.ruane@hp.com>
Date: Thu, 6 Jun 2002 07:15:47 -0400 (EDT)
Message-ID: <D0156F649002864DA26F7E1EE64A3E4E13D8A2@demexc02.emea.cpqcorp.net>
To: <www-xsl-fo@w3.org>




Srinivas, thanks for the suggestion but I've already tried that. It just makes the whole cell contents (as opposed to just the long words) overflow into the next column. Of course this may be a FOP deficiency that will be fixed in a later version.

Bye
Conleth



-----Original Message-----
From: Nandina Srinivas [mailto:srinandina@metricstream.com]
Sent: Thursday, June 06, 2002 13:10
To: Ruane, Conleth
Cc: www-xsl-fo@w3.org
Subject: Re: Truncating table values



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 10:04:51 GMT

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