<div>Hi Alexei,</div>
<div> </div>
<div>Thanks for your email.</div>
<div>Unfortunately it's the height I don't know, because if the text in the box wraps, then it would increase the height. I tried cheating using reference-orientation but it did not work.<br><br></div>
<div class="gmail_quote">2008/12/10 Alexei Gagarinov <span dir="ltr"><<a href="mailto:agagarinov@renderx.com">agagarinov@renderx.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Mark,<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d"><fo:block line-height="0pt"><br> <fo:external-graphic<br> content-width="scale-to-fit" content-height="scale-to-fit"<br> scaling="non-uniform" scaling-method="resample-any-method"><br>
</div>...<br></blockquote><br>You should set the viewport's area using @width and @height attributes on the fo:external-graphic element.<br><br>If @width and @height are omitted then they are treated as 'auto' and it means that viewport's area equals to the intrinsic size of the graphic.<br>
<br>And what you do is scaling the intrinsic size of the image to the ... yeah, to the same value.<br><br>So, in order to scale the graphics width to a table cell, you need the following:<br><fo:external-graphic width="100%" content-width="scale-to-fit" src="..."><br>
<br>But you cannot scale the image's height to an arbitrary block (a table cell in your example) using a percentage value because the height of this block depends of its content.<br>So you should know the height of the surrounding box ahead and specify this length as a value of @height on fo:external-graphic.<br>
<br>Regards,<br> Alexey Gagarinov<br>RenderX
<div>
<div></div>
<div class="Wj3C7c"><br><br>-------------------<br>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'<br>in the body of the message to <a href="mailto:majordomo@renderx.com" target="_blank">majordomo@renderx.com</a> from the address<br>
you are subscribed from.<br>(*) By using the Service, you expressly agree to these Terms of Service <a href="http://www.renderx.com/terms-of-service.html" target="_blank">http://www.renderx.com/terms-of-service.html</a><br>
</div></div></blockquote></div><br>