xsl-list
[Top] [All Lists]

Re: word exceeds table cell width. How to force the sentence to break?

2005-07-29 13:37:57
Christian Rasmussen wrote:
I have a problem. I have a table cell with a certain width, and in
that cell i have some text. If the sentence consist of one long word
without space it exceeds the cell-width.

How do I insert a hyphen and then force the word to break to the next line?
the xsl-fo attribute: wrap-option="wrap" but it doesn't help...

You should have mentioned the brand and version of the FO
processor you are using.
In general, hyphenation is enabled by adding the attribute
hyphenate="true" to a block enclosing the content. This
means you have to enclose the content in the table cell
in a block, if you haven't already. It is possible that
you have to specify a language as well.
Alternatively, or if automatic hyphenation doesn't quite
work as expected, you can somehow insert soft hyphen characters
(U+00AD) into the word, if your FO processor supports it.

J.Pietschmann


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>