[xep-support] fo:table and height attribute

Powell, Todd Todd.Powell at hq.doe.gov
Thu Aug 18 08:28:50 PDT 2005


I have a slightly different need...

I'm used to the formatting of tables in HTML and IE, which lets you say
something like:

	<table height="99%">
		<tr>
			<td height="200px">...</td>
		</tr>
		<tr>
			<td>...</td>
		</tr>
		<tr height="12px">
			<td>...</td>
		</tr>
		<tr height="100%">
			<td>...</td>
		</tr>
		<tr height="10px">
			<td>...</td>
		</tr>
	</table>

Where the dimensions of the table are given in percentages of the output
media (screen size, paper size, etc.), and even embedded rows (<tr>s) can
have these percentage dimensions.  The results would almost fill (99%) the
screen/page with the table's contents AND it would have the 4th row (in the
example), stretch as much as necessary to fill the space.

Is there a way to specify the same kind of thing with FO?  I know I can
calculate the height of the 4th row (page-height - [height of all fixed
rows]), but it would be nice if it could do it "automatically".

Thanks,
Todd

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Todd S. Powell
Project Performance Corporation
U.S. Department of Energy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20050818/4234d483/attachment.html>


More information about the Xep-support mailing list