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

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|regression                  |
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=14
                   |                            |0233

--- Comment #11 from Justin L <[email protected]> ---
There seems to be something wrong with the ODT itself (from comment 1).
If I FIRST edit the picture properties, then hit OK, and THEN export to DOCX,
everything is OK. I get
<wp:posOffset>-360045</wp:posOffset>
</wp:positionH>
<wp:positionV relativeFrom="paragraph">
<wp:posOffset>-360045</wp:posOffset>
</wp:positionV>


However, if I simply round-trip the file, I get
<wp:posOffset>-741680</wp:posOffset>
</wp:positionH>
<wp:positionV relativeFrom="paragraph">
<wp:posOffset>-360045</wp:posOffset>
</wp:positionV>


Since the dialog reports that both the top and left margins are identical
(1cm), and so are the apparent picture offsets (-1cm), these two number should
have been identical.
And yet the ODT has the different frame values svg:x="-2.06cm" svg:y="-1cm".

Thus, the actual internal SW values do not reflect the layout/dialog values, so
how can export possibly get it right? Even ODT export keeps the wrong value.

removing REGRESSION.

If anything is to be fixed here, it seems like it would be need to be in ODT
import - where "illegal" values are fixed at import instead of at layout.

Another fix needed would be in the dialog - to show the actual value in case
the image is not "captured" ("forced to be fully inside the page frame")
instead of the minimum value allowed for the captured case. (So, in the DOCX
with the shifted picture, pressing OK should not change anything - comment 2.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to