xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Horizontal and Vertical Alignment with region-start
Date Wed, 05 Nov 2008 16:53:52 GMT
On 05.11.2008 15:31:24 Frank Niedermann wrote:
> 
> Eric,
> 
> I've tried that but I don't see any changes, this is what I have now:
> 
>   <fo:static-content flow-name="xsl-region-start">
>     <fo:block-container display-align="center">
>       <fo:block text-align="center">Hello</fo:block>
>     </fo:block-container> 
> </fo:static-content>
> 
> Could the reference-orientation be the reason that it won't align in center?

No. The reason: the block-container has no explicit
block-prgression-dimension/height and therefore is exactly as high as
its contents, so it can't do any centering.

> <fo:region-start extent="8mm" background-color="#1e90ff"
> reference-orientation="270" />
> 
> Frank
> -- 
> View this message in context: http://www.nabble.com/Horizontal-and-Vertical-Alignment-with-region-start-tp20340905p20342800.html
> Sent from the FOP - Users mailing list archive at Nabble.com.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message