[Libreoffice-bugs] [Bug 79524] FILEOPEN: MSO ODT - Frame sizes arent imported correctly which crops images

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Oct 7 14:47:26 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=79524

Yousuf Philips (jay) <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de
             Blocks|                            |104461
            Summary|FILEOPEN: MSO ODT shows     |FILEOPEN: MSO ODT - Frame
                   |incorrect size of graphic   |sizes arent imported
                   |                            |correctly which crops
                   |                            |images

--- Comment #6 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
So Word and Calligra show it somewhat similar, while Writer and TextMaker show
it the same.

Here is the xml from the first image in attachment 136830.

 <draw:frame draw:z-index="5" draw:id="id0" draw:style-name="a0"
draw:name="Врезка7" text:anchor-type="paragraph" svg:x="0in" svg:y="0in"
svg:width="3.47778in" svg:height="1.8125in" style:rel-width="scale"
style:rel-height="scale">
   <draw:text-box>
     <text:p text:style-name="Drawing">
       <text:span text:style-name="T5">
         <draw:frame draw:style-name="a1" draw:name="Графический объект13"
text:anchor-type="as-char" svg:x="0in" svg:y="0in" svg:width="3.47913in"
svg:height="1.8126in" style:rel-width="scale" style:rel-height="scale">
           <draw:image xlink:href="media/image1.png" ... />
           <svg:title />
           <svg:desc />
         </draw:frame>
       </text:span>
       Рисунок 21: Генератор входных данных
     </text:p>
   </draw:text-box>
   <svg:title />
   <svg:desc />
 </draw:frame>

So LO is using the svg:width and svg:height values from frame id0, but not
taking values from draw:style-name a0 like draw:auto-grow-width="true"
draw:auto-grow-height="true". @Regina: what's your take?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104461
[Bug 104461] [META] DOCX (OOXML) frame-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171007/daf10090/attachment.html>


More information about the Libreoffice-bugs mailing list