<div>Hi Dan,</div>
<div> </div>
<div>Understood. I have provided it with removed <xsl:</div>
<div><br><fo:table width="100%" space-after.optimum="6pt"><br> <fo:table-column /><br> <fo:table-column column-width="2.5mm" /><br> <fo:table-body><br> <fo:table-row height="5mm"><br>
<fo:table-cell padding-left="1mm" background-color="rgb-icc (221, 221, 221, #Grayscale, 0.85)"><br> <fo:block line-height="5mm" font-size="10.5pt" color="#FFFFFF" font-weight="bold">The text goes here, but since we don't know the exact width of the whole table we don't know if this wraps or not.</fo:block><br>
</fo:table-cell><br> <fo:table-cell><br> <fo:block line-height="0pt"><br> <fo:external-graphic content-width="2.5mm" content-height="scale-to-fit" scaling="non-uniform" scaling-method="resample-any-method" src="url('triangle.svg')" /><br>
</fo:block><br> </fo:table-cell><br> </fo:table-row><br> </fo:table-body><br></fo:table></div>
<div> </div>
<div> </div>
<div>Is there some other way I can do this perhaps? All I'm trying to achieve is that the image in the 2nd column stretches in height depending on the height of the table.<br></div>
<div class="gmail_quote">2008/12/9 Dan Ochs <span dir="ltr"><<a href="mailto:dan.ochs@gmail.com">dan.ochs@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Please provide this list with a test case that shows the issue. The<br>test case shouldn't have any <xsl: in it, and only <fo: and also<br>
please provide an example pdf of what you are getting and the svg<br>file. Once there is a test that the developers on this can look at<br>and run to see the issue, you are much more likely to get a response.<br><br>thanks,<br>
dan<br>
<div>
<div></div>
<div class="Wj3C7c"><br><br>On Tue, Dec 9, 2008 at 3:18 AM, Mark Cilia Vincenti<br><<a href="mailto:markciliavincenti@gmail.com">markciliavincenti@gmail.com</a>> wrote:<br>> Sorry for the bump, but I'm still trying to figure this thing out. Did<br>
> anyone come across this same problem please?<br>><br>> 2008/12/5 Mark Cilia Vincenti <<a href="mailto:markciliavincenti@gmail.com">markciliavincenti@gmail.com</a>><br>>><br>>> Does anyone have a solution to this problem please? Or is this a<br>
>> bug/limitation of RenderX?<br>>><br>>> I still can't get the SVG to automatically scale down to the space<br>>> allocated to it within its containing table cell without increasing the cell<br>
>> dimensions.<br>>><br>>> 2008/12/4 Mark Cilia Vincenti <<a href="mailto:markciliavincenti@gmail.com">markciliavincenti@gmail.com</a>><br>>>><br>>>> Hi,<br>>>><br>>>> I have an SVG image that shows up a grey triangle at the end of a grey<br>
>>> box where some titles will go.<br>>>><br>>>> Basically I set a table width to 100% with 2 columns, one with no width<br>>>> specified and one with 2.5mm column-width, which will be where the triangle<br>
>>> will go.<br>>>> The height of the table has an initial value of 5mm (i.e. initially it<br>>>> should look 2.5mm by 5mm). However it may increase if the text inside wraps<br>>>> (probably close to 2.5mm by 9mm). In that case the image also needs to<br>
>>> increase in height, but not in width. Since SVG is vector-based, the<br>>>> triangle should still look good, but obviously the angle would change.<br>>>><br>>>> Here is the code I put inside the 2nd column:<br>
>>><br>>>> <fo:block line-height="0pt"><fo:external-graphic<br>>>> content-width="scale-to-fit" content-height="scale-to-fit"<br>>>> scaling="non-uniform" scaling-method="resample-any-method"><br>
>>> <xsl:attribute name="src">url('<xsl:call-template name="imagesloc"<br>>>> />triangle.svg')</xsl:attribute><br>>>> </fo:external-graphic></fo:block><br>
>>><br>>>> I have also tried this (since the width is going to be constant):<br>>>><br>>>> <fo:block line-height="0pt"><fo:external-graphic content-width="2.5mm"<br>
>>> content-height="scale-to-fit" scaling="non-uniform"<br>>>> scaling-method="resample-any-method"><br>>>> <xsl:attribute name="src">url('<xsl:call-template name="imagesloc"<br>
>>> />triangle.svg')</xsl:attribute><br>>>> </fo:external-graphic></fo:block><br>>>><br>>>> My problem is that the SVG is showing at 100% of its width and height, in<br>
>>> any scenario. It is refusing to scale to fit the area allocated to it.<br>>>><br>>>> Any ideas please?<br>><br>><br></div></div>-------------------<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">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>
</blockquote></div><br>