|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL FO: scaling graphics
Nikolai Grigoriev writes:
> > c) I want the graphic to occupy 80% of the width of the enclosing box:
> >
> > <fo:external-graphic src="foo" content-width="90%"/>
>
> NO. A quote from the draft [7.12.3 "content-width"]: "If the value is a
> percentage, the value of this property is the percentage applied to the
> intrinsic width". You get 90% of the original width, not of the surrounding
> block's.
oh DANG. back to the drawing board.
> After a thorough search, I still cannot find any evident way of
> achieving what you are asking for. Probably, there should be something like
> content-width="0.8 * from-parent('width')",
sigh. I really dont want to have to play a game like that
surely "set the graphic so that it scales up or down to fit the page
width" is a very common requirement?
Sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








