This is currently not possible, I'm afraid. You'll have to know about the image size and set content-height or content-width to the height or width of the region-body's content area, whichever would overflow the available size.
If FOP supported it, you could specify like this: <fo:external-graphic inline-progression-dimension.optimum="auto" inline-progression-dimension.maximum="100%" block-progression-dimension.optimum="auto" block-progression-dimension.maximum="100%" content-width="scale-to-fit" content-height="scale-to-fit" src="..."/> But that'll take a little bit of work in the AbstractGraphicsLayoutManager to make this work. On 15.05.2006 10:34:33 Dominic Brügger wrote: > What is the correct way to fit an image that is larger than the > available area into a page? Currently I'm using > <fo:external-graphic content-width="scale-to-fit" src="anImage.jpg" > content-type="image/bmp" /> > which produces a "Line 1 of a paragraph overflows the available area." > warning. I already read the specs, but I don't realy understand the > difference between content-width and with. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
