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


Hi Miklos,

Thank you for the help.

2016-03-25 15:20 GMT+02:00 Miklos Vajna <vmiklos@collabora.co.uk>:

xmloff/source/text/txtparae.cxx:2667


From here i noticed nWidth[1] and nHeight[2] have correct values when
the image is cropped. After i noticed again that

1-) Insert an image
2-) Export as noncropped.html
3-) Open noncropped.html in a web browser
4-) Rightclick of the image and inspect element.

Result:
* <div id=Image1 ... width and height attributes is true. When hover
the div tag it shows correct area.
* <img ... width and height atrributes is correct. When hover the <img
tag it shows correct area.

1-) Insert an image
2-) Crop the image
3-) Export as cropped.html
4-) Open cropped.html in a web browser
5-) Rightclick of the image and inspect element.

Result:
* <div id=Image1 ... width and height attributes is true. When hover
the div tag it shows correct(cropped) area.
* <img ... width and height atrributes is correct(!). When hover the
<img tag it shows WRONG area. It shows the original size of image
area.

The problem is not width and height values. I think the problem is
handling that values. I will continue try to fix that bug, If anybody
have an idea about the solution please share with me.

Thanks


[1] http://opengrok.libreoffice.org/xref/core/xmloff/source/text/txtparae.cxx#2654
[2] http://opengrok.libreoffice.org/xref/core/xmloff/source/text/txtparae.cxx#2712

-- 


Gülşah Köse
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.