Le 05/05/2011 12:17, Bas van den Broek a écrit :
> Between line 1 and 2 I wasn't sure what to expect, either no or 1
> linebreak. XFC inserts 1. Apache FOP inserts none.
> Between line 2 and 3 I was expecting 1 linebreak but not 2. XFC inserts
> 2. Apache FOP inserts 1.
> Between line 4 and 5 I wasn't sure what to expect either, either no or 1
> linebreak. XFC inserts 1. Apache FOP inserts none.
> Between line 6 and 7 I was expecting 1 linebreak but not 2. XFC inserts
> 2. Apache FOP inserts 1.
>
> Also, the font on the lines where XFC inserts an additional line is
> different. I'd expect Helvetica everywhere but it is actually Calibri
> (body) at size 11, which may be a default for Word or something. This
> makes the lines higher because of the different size of the font.

As far as I remember RTF and other specifications require a table cell 
to contain at least one - possibly empty - paragraph. Thus XFC will 
always insert an empty paragraph - with no font attributes I fear - in a 
cell without content. This is where the blank lines inside the table 
come from.

Also note that conversion of the XSL-FO document you supplied doesn't 
produce the layout of the OOXML document attached to your message. With 
this XSL-FO input you do not get any blank line between 'Line6' and 
'Line7', which is indeed the expected behaviour.

Hope this helps,

  JYB
 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to