Hi,

Le 10/11/2011 01:42, gkasper a écrit :



Pascal Sancho wrote:

Your snippet should be like that:
<fo:block font-size="0">
   <fo:external-graphic src="url(Images/MASTER_CMS-1500-v4.gif)"
       block-progression-dimension.maximum="269.4mm"
       block-progression-dimension.optimum="100mm"
       inline-progression-dimension="100%"
       content-height="scale-to fit" content-width="scale-to fit"
       scaling="uniform"/>
</fo:block>


Thank you very much, Pascal, finally it works!
Just a little note: there is probably typo:
block-progression-dimension.optimum="100mm" should be
block-progression-dimension.optimum="100%"

no, it's not 100%:
100% means 100% * parent's b-p-d
and parent's b-p-d depends oncontent's b-p-d,

so, 100% means 100% * 100%, witch have no sense, and XSL-FO turns it into "auto"

that said, there is really a typo issue: read "scale-to-fit" instead of "scale-to fit"

I really appreciate, thanks!
P.S. Sensitive stuff! ;)

--
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to