From: "Wouter de Vaal" <[EMAIL PROTECTED]>

Hi,

I was wondering if it is possible to let a block-container take the width of
it's containing block.
So in the following example, it would take the actual width of the external
graphic.

No, this isnt possible in FOP. In general, XSL-FO will let you do this, its just that FOP only has limited support for block-container. Why do you think you need this feature? Perhaps there is a different way to achieve the same effect?



<fo:block-container top="230mm" left="40mm" height="30mm" position="absolute"> <fo:block> <fo:external-graphic height="30mm" src="sign.gif"/> </fo:block> </fo:block-container>


The current version of FOP requires width to be specified on block-container. And if you dont specify width on external-graphic, your image will be rendered at 72dpi.


Chris

_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess



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



Reply via email to