Re: [xsl] the fo:block thing

Subject: Re: [xsl] the fo:block thing
From: Tony Graham <Tony.Graham@xxxxxxx>
Date: Tue, 14 Jan 2003 15:53:12 +0000
G. Ken Holman wrote at 14 Jan 2003 09:43:32 -0500:
 > At 2003-01-14 14:08 +0000, Tony Graham wrote:
 > >G. Ken Holman wrote at 13 Jan 2003 07:50:35 -0500:
 > >  > At 2003-01-13 12:52 +0200, Matts Isuls wrote:
...
 > >What's wrong with <fo:table-row height="22pt">?
 > 
 > Matts said he always wanted two lines ... if I only use the height of the 
 > row as above, isn't that elastic and won't it grow if there are more than 
 > two lines of data?  I thought I needed the block container to ensure every 
 > cell would always have two lines.

Firstly, I thought everything had been worked out so that the content
wouldn't exceed two lines.

Secondly, if there's more than two lines of data in the
block-container then, for print output, the overflow is either going
to be clipped or it's going to be rendered outside the block-container
(i.e., on top of the data in the next row), depending on the value of
the 'overflow' property.  (It could also cause an error if
overflow='error-on-overflow'.)

 > Please let me know if I'm mistaken about the behaviour of table-row height=.

You're not, but it's a judgement call whether expanding, clipping, or
overflowing is to be preferred if the data exceeds two lines.

Regards,


Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

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


Current Thread