[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: table-row height attribute
> -----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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|