Philip, > This problem seems to have already been answered, but I > wanted to make sure. I'm using fop-0.20.4. I found this in > the archive: > http://marc.theaimsgroup.com/?l=fop-user&m=102555220521732&w=2 > It's slightly different then what I need: I have xml data > that populates a table-cell but I always want that table cell > to be a certain size (fixed). This happens to be big enough > to capture 2 lines of each ~11 characters of stuff each (I > say roughly 11 characters since it's variable font). With the > height attribute I seem to be able to enforce a minimum > height, but not a maximum height. Is that normal or a FOP > issue? Based on the post above I got the impression that it > also should cap a maximum height, but maybe I misunderstand.
Sounded exactly like what you described, but as it said, it's not
implemented yet.
> Finally if FOP does indeed not support any type of maximum
> height, somebody have an idea/pointer of how I can achieve
> what I want? In particular considering that I deal with
> variable fonts.
A Q&D for you (worked as described on 0.20.5.rc2). If this is the only thing
in the table, just use the block-container instead. Width should match
column width & both heights are required. Extra lines are truncated:
<fo:table-cell height="24pt" >
<fo:block-container height="24pt" width="1.5cm">
<fo:block>
<xsl:value-of select="LineDescription"/></fo:block>
</fo:block-container>
</fo:table-cell>
Cheers,
Roland
<<attachment: winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
