Subject: Re: [xsl] [XSL-FO] column of small width From: Arved Sandstrom <Arved_37@xxxxxxxxxxxxxx> Date: Tue, 19 Dec 2000 21:40:20 -0400 |
Laurent Galy writes: > In fo:table, in case of too large text in fo:cell, text is written > on multiple lines. ---------------- |text |large | | |text | ---------------- > But, if there is no space in text, text is not broken and > overflow the column. ---------------- |text |large_te|xt ---------------- > Is there a method to hide part of text that overflows ? Let's assume that your content is inside an fo:block; i.e. <fo:table-cell><fo:block>TEXT</fo:block></fo:table-cell> The default wrap-option is "wrap", meaning that line-breaking occurs for overflow. So you're seeing this for your first example. But in the second example it's not a line-breaking problem, which in any case is left up to the formatter, it's a word-breaking problem. By default hyphenation is false, so if you've got a long word and not enough space, what else do you do? Can you hide or clip the overflow, as you ask? In theory, yes, but not yet with FOP. You could wrap the fo:block in an fo:block-container, on which it is possible to specify "overflow". FOP doesn't yet do fo:block-container; we'll have to put wings on it because of needs like this. Hope this helps, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] [XSL-FO] column of small widt, Ext . ZXSPRCR2A015 | Thread | Re: [xsl] [XSL-FO] column of small , Nikolai Grigoriev |
[xsl] assistance with some pattern , Thanasis Mastrogiann | Date | Re: [xsl] Xerces and Unicode, David_N_Bertoni |
Month |