https://bugs.documentfoundation.org/show_bug.cgi?id=145542
--- Comment #12 from Regina Henschel <[email protected]> --- So you worked on the file directly. I have now a way to create the problem from scratch: First step create an HTML-document: 1. Start with a new Writer document. 2. Write one word and insert a small image. 3. Set the image width to 50% relative to Paragraph area. 4. Save the file as HTML. That produces an <img>-element in the HTML file similar to <img src="embedGraphicRelWidth_html_af12dd0b44708d6e.png" name="Image1" align="left" width="50%" height="46"> Second step: 1. Start with a new Writer document. 2. Menu Insert > Text from file... 3. Select the HTML-file you have created in the first step. Breaking the link or not makes no difference. When you now inspect the image, you will find, that LayoutSize property has the stretched width and Size property has the intrinsic size of the image. When you now create the docx-file immediately, the image will not be stretched. LO 7.0 has written the un-stretched size to the svg:width and svg:height attributes when saving as odt, LO 7.6 writes the stretched size. So LO7.6 corrects the inconsistency when saving. I think we have two problems here: (A) Import of a HTML portion does not adapt the Size property. (B) The output to docx when calling e.g. startDMLAnchorInline() in docxattributeoutput.cxx uses a dirty Size property. -- You are receiving this mail because: You are the assignee for the bug.
