Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hi devs,

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.

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.

<draw:frame draw:style-name="fr1" draw:name="Image1"
text:anchor-type="paragraph" *svg:width="6.6929in" svg:height="4.6161in*"
draw:z-index="0">
    <draw:image
xlink:href="Pictures/1000000000000346000002422981A009BB477615.png"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
</draw:frame>

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

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.

Regards.

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=42038
-- 



Gülşah Köse
[image: https://]about.me/gulsahkose
<https://about.me/gulsahkose?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>


<https://about.me/gulsahkose?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>
* <http://about.me/gulsahkose>*

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.