A question about HTML export
Gülşah Köse
gulsah.1004 at gmail.com
Fri Mar 25 11:59:35 UTC 2016
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>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160325/caefd2e5/attachment.html>
More information about the LibreOffice
mailing list