Hi,
max-width property doesn't apply to fo:external-graphic; see REC
XSL-FO ยง 6.6.5 at [1]
but...
block-progression-dimension does;
so you can use:
block-progression-dimension.maximum=100%, that should do the trick.
[1] http://www.w3.org/TR/xsl/#fo_external-graphic
2013/9/19 Robert Gurol
Hi,
thank you for your reply! I almost felt bad when this seemed to have turned
out to be an FO issue, but unfortunately, neither setting
block-progression-dimension.maximum=100% nor setting
inline-progression-dimension.maximum=100% seem to do the trick.
The external-graphic still exceeds the
PS: I should probably mention that I am using FOP 1.1
2013/9/20 Robert Gurol robert.gu...@signavio.com
Hi,
thank you for your reply! I almost felt bad when this seemed to have
turned out to be an FO issue, but unfortunately, neither setting
block-progression-dimension.maximum=100% nor
Hi again,
I finally got my code to work. I ignored that the width property is
expanded and overwrites any inline-progression-dimension settings
(confer http://www.w3.org/TR/xsl/#d0e4413).
With external-graphic code like this instead, it works for me:
external-graphic