<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 - When saving in .docx, inline image alignment is not saved."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133873">133873</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>When saving in .docx, inline image alignment is not saved.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.3.2 release
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (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>ytxmobile@outlook.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I want an inline image to be centered to a row of text.
I opened Image Properties, and under the Type tab I selected align to center by
the row.

However, when the document is saved in .docx, this alignment configuration is
not saved. This can be seen when I close and reopen the document.
Saving in .docx and .odt does not render the same problem.

Steps to Reproduce:
1. Enter a line of text.
2. Insert an image, and set its anchoring to "As Character."
3. Right click on the image, select "Properties..."
4. Under the "Type" tab, select "Vertical 'Center' to 'Row'".
5. Save this document as .odt, .doc, and .docx.
6. Close and reopen them all.

Actual Results:
In the .docx document, the alignment of image after reopening is "Vertical
'Top' to 'Base Line'".
In the two other documents, the alignment of image is "Vertical 'Center' to
'Row'", as expected.

Expected Results:
All three documents should properly save the alignment as "Vertical 'Center' to
'Row'".


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.4.3.2
Build ID: 1:6.4.3-0ubuntu0.20.04.1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded</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>