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