[xsl] RE: cell height xsl

Subject: [xsl] RE: cell height xsl
From: "Kevin Brown" <kevin@xxxxxxxxxxx>
Date: Sat, 21 Jan 2012 13:22:08 -0800
There are many solutions, but setting the top padding on the bullet cell's
block to a negative value is the one I tend to use ... like this (see
padding-top is -3pt (difference between 12pt text and 15pt bullet):

				<fo:table>
					<fo:table-column
column-width="16pt"/>
					<fo:table-column />
					<fo:table-body>
						<fo:table-row>
							<fo:table-cell
border="1pt solid black">
								<fo:block
font-size="15pt">&#x2022;</fo:block>
							</fo:table-cell>
							<fo:table-cell
border="1pt solid black">
	
<fo:block>This is some additional text that is in a different point
size.</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell
border="1pt solid black">
								<fo:block
font-size="15pt" padding-top="-3pt">&#x2022;</fo:block>
							</fo:table-cell>
							<fo:table-cell
border="1pt solid black">
	
<fo:block>This is some additional text that is in a different point size
setting the padding to shift the bullet.</fo:block>
							</fo:table-cell>
						</fo:table-row>

						<fo:table-row>
							<fo:table-cell
border="1pt solid black">
								<fo:block
font-size="15pt" padding-top="-3pt">&#x2022;</fo:block>
							</fo:table-cell>
							<fo:table-cell
border="1pt solid black">
	
<fo:block>This is some additional text that is in a different point size
setting the padding to shift the bullet.</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</fo:table-body>
				</fo:table>

Kevin Brown
RenderX

**********************************************


Date: Fri, 20 Jan 2012 21:14:54 -0600
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
From: Jesse Schaaf <schajx@xxxxxxxxxxxxx>
Subject: cell height xsl
Message-ID: <4F1A2DAE.9020603@xxxxxxxxxxxxx>

> I realize 15pt is likely higher then the row height but its possible for 
other cells in this row to wrap and I want those cells to dictate the 
height.

Im sure there is an easy solution to this but I am fairly new to xslt.

Here is the code that I have for the cell involved.

<snip/>

Current Thread