xsl-list
[Top] [All Lists]

Re: empty fo-block in table cells not rendering

2004-02-20 11:15:39
At 2004-02-20 17:51 +0000, Mark Williams wrote:
I have the following in a fo file.  I would expect the table to render a
cell that effectively has 5 lines.  Instead it renders a table cell with
only 2 lines, that is, it ignores the empy blocks.

Yes, according to the Recommendation. An empty block has a size of zero and, therefore, doesn't take up any space on the page.

Use <block><leader/></block> to create a blank line.

If I duplicate the blocks in the same fo file, but outside of a table, it
renders 5 lines

That sounds like a bug.

as expected.

I wouldn't expect it.

Any idea why this might be and how I can get
the cell to render the empty blocks.

Empty blocks are, indeed, empty ... they have no size ... you cannot see them.

Your software is broken to show empty lines anywhere, regardless if they are inside or outside of a table.

I hope this helps.

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


--
Public courses: upcoming world tour of hands-on XSL training events
Each week:    Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO
Washington, DC: 2004-03-15            San Francisco, CA: 2004-03-22
Hong Kong: 2004-05-17    Germany: 2004-05-24    England: 2004-06-07
World-wide on-site corporate, government & user group XML training!

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)
Male Breast Cancer Awareness   http://www.CraneSoftwrights.com/s/bc


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