Re: [xsl] table-row height attribute

Subject: Re: [xsl] table-row height attribute
From: "Mark Williams" <mark@xxxxxxxxxxx>
Date: Tue, 9 Mar 2004 22:45:33 -0000
Andreas,

Thanks again for the reply.  Ken has come up with a fairly hopeful sounding
solution, which I will try out.

Cheers,

Mark

----- Original Message -----
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 09, 2004 9:20 PM
Subject: RE: [xsl] 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
>
>


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


Current Thread