xsl-list
[Top] [All Lists]

Re: the fo:block thing

2003-01-14 10:05:27
At 2003-01-14 17:42 +0100, J.Pietschmann wrote:
G. Ken Holman 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'm too lazy to look it up right now but IIRC height="22pt"
means bpd.minimum=bpd.optimum=bpd.maximum="22pt". Because of
the latter content should overflow rather than grow the row
height, even though e.g. FOP will grow it (which is a bug).
Please correct if I remember wrong.

You remember right, which would then mean my answer was wrong ... the line shouldn't grow and Tony's suggestion is quite appropriate.

Sorry for the misleading information.

................... Ken

--
Upcoming hands-on in-depth   North America:  February  3- 7, 2003
XSLT/XPath and/or XSL-FO     Europe:         February 17-21, 2003

G. Ken Holman                mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1              Practical Formatting Using XSL-FO
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc


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



<Prev in Thread] Current Thread [Next in Thread>