You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Philippe Pithon <pp...@sigal.fr> on 2011/01/06 16:50:33 UTC
fo:table space-after
Hello all,
I start upgrade from FOP 0.20.5 to FOP 1.0....
I have a problem with space-after in fo:table
(space-before works fine)
<fo:table border="1" space-before="40px" space-after="40px"
table-layout="fixed" width="100%">
With my test page, there isn't space after my table
But with FOP 0.20.5 it's OK.
any ideas ?
Philippe Pithon
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fo:table space-after
Posted by Andreas Delmelle <an...@telenet.be>.
On 06 Jan 2011, at 17:51, Philippe Pithon wrote:
Hi Philippe
> I read this attribut on http://www.w3.org/TR/xsl/#spacecond :
>
> "Conditionality is an enumerated value which controls whether a space-specifier has effect at the beginning or end of a reference-area or a line-area. Possible values are retain and discard; a conditional space-specifier is one for which this value is discard."
>
> But I don't understand this sentence...
> Do you have a link to a better explanation ?
Not really a link, but the following explanation might make it easier to grasp what is happening:
The "conditionality" component of a space-property has "discard" as its initial value.
This means, in practice, unless you override it to "retain", that the space will be 'discarded' (thrown away, ignored...) when it appears 'at the beginning or the end of a reference area'.
The latter is XSL-FO-lingo to refer to the cases of space before the first object on a page (or in a block-container) and space after the last object on a page (or in a block-container).
For the remaining spaces (in between objects on the same page, or in the same block-container), it is the "precedence" component (and ultimately the length) that is used to decide which of the spaces 'wins' and will be retained in the output.
Hope this helps,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fo:table space-after
Posted by Philippe Pithon <pp...@sigal.fr>.
OK, it's works fine !
Thanks !
I read this attribut on http://www.w3.org/TR/xsl/#spacecond :
"Conditionality is an enumerated value which controls whether a
space-specifier has effect at the beginning or end of a reference-area
or a line-area. Possible values are retain and discard; a conditional
space-specifier is one for which this value is discard."
But I don't understand this sentence...
Do you have a link to a better explanation ?
Philippe Pithon
Le 06/01/2011 17:16, Amick, Eric a écrit :
> It wouldn't surprise me if it has something to do with conditionality. Have you tried adding space-after.conditionality="retain"?
>
> Eric Amick Systems Engineer II
> Legislative Computer Systems
>
>> -----Original Message-----
>> From: Philippe Pithon [mailto:ppithon@sigal.fr]
>> Sent: Thursday, January 6, 2011 10:51
>> To: fop-users@xmlgraphics.apache.org
>> Subject: fo:table space-after
>>
>> Hello all,
>>
>> I start upgrade from FOP 0.20.5 to FOP 1.0....
>>
>> I have a problem with space-after in fo:table
>> (space-before works fine)
>>
>> <fo:table border="1" space-before="40px" space-after="40px"
>> table-layout="fixed" width="100%">
>>
>> With my test page, there isn't space after my table
>>
>> But with FOP 0.20.5 it's OK.
>>
>> any ideas ?
>>
>> Philippe Pithon
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE: fo:table space-after
Posted by "Amick, Eric" <Er...@mail.house.gov>.
It wouldn't surprise me if it has something to do with conditionality. Have you tried adding space-after.conditionality="retain"?
Eric Amick Systems Engineer II
Legislative Computer Systems
> -----Original Message-----
> From: Philippe Pithon [mailto:ppithon@sigal.fr]
> Sent: Thursday, January 6, 2011 10:51
> To: fop-users@xmlgraphics.apache.org
> Subject: fo:table space-after
>
> Hello all,
>
> I start upgrade from FOP 0.20.5 to FOP 1.0....
>
> I have a problem with space-after in fo:table
> (space-before works fine)
>
> <fo:table border="1" space-before="40px" space-after="40px"
> table-layout="fixed" width="100%">
>
> With my test page, there isn't space after my table
>
> But with FOP 0.20.5 it's OK.
>
> any ideas ?
>
> Philippe Pithon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org