<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILESAVE DOCX Shape anchored to table moves on saving"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130120">130120</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILESAVE DOCX Shape anchored to table moves on saving
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.5.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libreoffice@nisz.hu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=157322" name="attach_157322" title="Example file from Word">attachment 157322</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=157322&action=edit" title="Example file from Word">[details]</a></span>
Example file from Word

Attached simple docx document contains a table and a shape in the bottom right
anchored in the table.
On saving the file and opening it in Word the shape moves to a centered
position, horizontally at about the right side of the table.
Writer reopens this file incorrectly too, with the shape positioned almost at
the right paper side.

Steps to reproduce:
    1. Open attached document in Writer and save it as docx

Actual results:
The shape appears horizontally centered. The Layout dialog in Word indicates
that that “Layout in table cell” checkbox is now checked, while in the original
file it wasn’t. Unchecking it fixes the visual position in Word.

Expected results:
The shape should retain its position.

LibreOffice details:
Version: 6.5.0.0.alpha0+ (x64)
Build ID: c7f3ac890526306804ec2bdf1256ba15a4247f13
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: en-US (hu_HU); UI-Language: en-US
Calc: CL

Export of the shape started to work in 4.2, and it is positioned the same in
Word ever since.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>