Ok, I'll see what I can do with them if I switch :)

Thanks a lot,
Jonathan

-----Message d'origine-----
De : Andreas L Delmelle [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 18 septembre 2007 23:29
À : [email protected]
Objet : Re: Full-page table, %-height rows, and block-progression-dimension

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]


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to