When I create a block container like this:
<fo:block-container
background-image="url(graphics/mybackgroundgraphic.svg)"
rx:background-scaling="non-uniform"
rx:background-content-height="scale-to-fit"
inline-progression-dimension="9pc">
XEP issues messages of the form:
[warning] Bad attribute value backround-content-height: Attribute
type mismatch: background-content-height cannot have value
"scale-to-fit" of type Word.
"scale-to-fit" is one of the allowed values of content-height= so I
would expect it to be allowed here.
The desired behavior in this case is that the background image would be
scaled to fit the final size of the block container based on the size of
its child formatting objects.
The actual requirement in this case is to produce a box with rounded
corners, which I'm doing using an SVG background image. The problem is
that the block-progression-dimension of the block container cannot be
known at FO generation time.
Another way to satisfy this requirement would be to add an extension for
creating boxes with rounded corners (which is trivially easy to do in
PDF but obviously a bit beyond the current scope of FO, and could get a
bit complex if you starting thinking it would be nice to do more than
just specify a radius for the corner curve....). Just a thought :-)
Cheers,
Eliot
-- W. Eliot Kimber Professional Services Innodata Isogen 9390 Research Blvd, #410 Austin, TX 78759 (512) 372-8122 ekimber@innodata-isogen.com www.innodata-isogen.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.htmlReceived on Wed Jan 26 19:57:11 2005
This archive was generated by hypermail 2.1.8 : Wed Jan 26 2005 - 19:57:12 PST