<div dir="ltr">Hi devs,<br><br>I'm working on this bug[1] for a while. Its about export as HTML the cropped images on Writer. Images don't exported as cropped.<br><br>When i extracted an .odt file including an image, i found the following information of image in content.xml. And HTML export rule of images gets the information about width and height atrributes from here. <br><br><draw:frame draw:style-name="fr1" draw:name="Image1" text:anchor-type="paragraph" <b>svg:width="6.6929in" svg:height="4.6161in</b>" draw:z-index="0"><br> <draw:image xlink:href="Pictures/1000000000000346000002422981A009BB477615.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/><br></draw:frame><br><br>Despite a lot of search, i just get xml specifications of odf, LibreOffice or Openoffice. I couldn't find any information how to generate that content.xml file<br><br>My question is which class(es) sets svg:width and svg:height atrributes. If you think that is very particular question, I can change my question as how generates LibreOffice Writer the content.xml files.<br><br>Regards.<br><br clear="all">[1] <a href="https://bugs.documentfoundation.org/show_bug.cgi?id=42038">https://bugs.documentfoundation.org/show_bug.cgi?id=42038</a><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="text-align:left"><div><div><table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr><td style="width:auto;height:20px;font-size:0px"> </td></tr>
<tr><td style="width:auto"><div style="line-height:0">
<a href="https://about.me/gulsahkose?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links" style="text-decoration:none;display:inline-block" target="_blank">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="width:107px;line-height:1;vertical-align:top" align="left" valign="top"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="width:auto;height:20px;font-size:0px"><br></td></tr>
<tr><td style="width:auto"><div style="line-height:0">
<a href="https://about.me/gulsahkose?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links" style="text-decoration:none;display:inline-block" target="_blank">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="width:auto;line-height:1;padding:0px;vertical-align:top" align="left" valign="top">
<div style="margin:0px;font-size:18px;line-height:1;font-weight:bold;color:rgb(51,51,51);font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif">Gülşah Köse</div>
</td>
</tr>
<tr>
<td style="width:auto;line-height:1;vertical-align:top;padding-top:0px" align="left" valign="top">
<div style="margin:3px 0px 0px;font-size:12px;color:rgb(43,130,173);font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif"><img alt="https://" style="display: block; width: 0px; height: 0px; overflow: hidden;" height="0" width="0">about.me/gulsahkose</div>
</td>
</tr>
</tbody></table>
</a>
</div></td></tr>
<tr><td style="width:auto;height:20px;font-size:0px"><img src="https://about.me/t/sig?u=gulsahkose" style="border: 0px none; margin: 0px; padding: 0px; overflow: hidden;" height="1" width="1"></td></tr></tbody></table></td>
<td style="width:10px;font-size:0px"><br></td>
<td style="width:auto;line-height:1;padding:0px 0px 3px;vertical-align:bottom" align="left" valign="bottom"><br></td>
</tr>
</tbody>
</table>
</a>
</div></td></tr>
<tr><td style="width:auto;height:20px;font-size:0px"><img src="https://about.me/t/sig?u=gulsahkose" style="border: 0px none; margin: 0px; padding: 0px; overflow: hidden;" height="1" width="1"></td></tr>
</tbody>
</table>
</div></div><u><a href="http://about.me/gulsahkose" target="_blank"></a></u></div></div></div></div></div>
</div>