[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: table-row height attribute

Subject: RE: table-row height attribute
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Tue, 9 Mar 2004 22:20:33 +0100
table row sizing
> -----Original Message-----
> From: Mark Williams
>
> As you probably know, if the text in a cell is too long it wraps
> to the next line and increases the row height.
> The spec says that specifying a height fixes the height, by which
> I assumed it meant that any wrapping text would be lost.
> Either I've misread the spec or FOP doesn't implement
> it correctly for table rows.

Ah, in that case.. of course. I thought it did clip, but so it doesn't :(
(is why I was a bit puzzled by the problem)

> I appreciate what you say about keeping text within the row size,
> but I don't have control over the size of the text inputted.

Hmm. Indeed you don't, but do you have the possibility of extracting the
first n characters from the strings in question, where n is based on the
font metrics and the width of the cell (?)

Remote guess, but if you can 'normalize' the text in this fashion during the
XSL Transform, this might just be your way out.


Cheers,

Andreas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.