On Sep 18, 2007, at 10:58, Winterflood, Jonathan wrote:
Hi
Here is my test code for 2 rows, 50%, 25cm:
<snip />
Thanks for the sample.
FOP complains about this (many times):
18 sept. 2007 09:54:37
org.apache.fop.layoutmgr.AbstractBaseLayoutManager getBaseLength
GRAVE: Cannot find LM to handle given FO for LengthBase. (fo:table-
row, location: 13/49)
Yep, as I remember exactly, only I saw it last in trying to get
percentage cell-widths in the first row correctly distributed over
implicit columns.
I understand why the percentages are vaguely defined in CSS, hence
the block-progression 'workaround' in XEP
I imagine FOP simply does not define what to do with percentages,
though.
Currently not, I'm afraid. Percentage-heights do work well on
fo:block-containers, though.
See:
<fo:root text-align="center" xmlns:fo="http://www.w3.org/1999/XSL/
Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4_1" margin="1cm" page-
width="21cm" page-height="29.7cm">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="A4_1">
<fo:flow flow-name="xsl-region-body">
<fo:block-container height="50%">
<fo:block>test1</fo:block>
</fo:block-container>
<fo:block-container height="50%">
<fo:block>test2</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>
Getting two of them next to each other would require absolute-
positioning, but AFAICT, percentages are not yet correctly
implemented for top/left/bottom/right...
HTH!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]