<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 - FILEOPEN DOCX Embedded document is not positioned correctly inside OLE object"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142059">142059</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN DOCX Embedded document is not positioned correctly inside OLE object
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>4.4.0.3 release
          </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>Keywords</th>
          <td>implementationError
          </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>

        <tr>
          <th>CC</th>
          <td>nemeth@numbertext.org, varga.balazs3@nisz.hu
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>112976
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=171607" name="attach_171607" title="Example file from Word">attachment 171607</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=171607&action=edit" title="Example file from Word">[details]</a></span>
Example file from Word

Attached document contains an OLE object which was a simple docx file with a
bit of lorem ipsum.
In Word the content of the embedding is positioned by default to have the text
start at the top left corner of the object (so that the left and top margin is
hidden), but in Writer the objects content begins at the top left corner of the
page, so that left and top margin is visible, while the bottom and right
portion of the text is not.

Steps to reproduce:
1.      Open attached document

Actual results:
The left and top margin of the embedded document is visible, while its text is
not entirely.

Expected results:
Only the text of the embedded document is visible like in Word.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 77419c6f3aba1fd5b1660795923c22a39bdb1bad
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: hu-HU
Calc: CL

Also happens in 7.0, 6.0, 5.0, 4.4 but not yet in 4.3
In 4.3 the embedded document opened by double click in a new window and the
initial placeholder looked good, since 4.4 the embedded document opens in an
embedded dialog, but the initial placeholders content is off by a margin-sized
bit.

Additional Information: 
Bibisected to the following range:
<a href="https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=93b35682c4458f76f09e10cf934dd51adfb26deb..56c9850145faa9ac04c3f09633e56b6c8c22c6c4">https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=93b35682c4458f76f09e10cf934dd51adfb26deb..56c9850145faa9ac04c3f09633e56b6c8c22c6c4</a> 

Of which this commit stands out:

author  Miklos Vajna <<a href="mailto:vmiklos@collabora.co.uk">vmiklos@collabora.co.uk</a>>  2014-08-27 15:24:37 +0200
committer       Miklos Vajna <<a href="mailto:vmiklos@collabora.co.uk">vmiklos@collabora.co.uk</a>>  2014-08-27 15:34:41
+0200

DOCX import: fix handling of embedded DOCX files

This would make it an implementation error.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] DOCX (OOXML) OLE object-related issues"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112976">Bug 112976</a>] [META] DOCX (OOXML) OLE object-related issues
              </li>
          </ul>
        </div>
        <br>

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

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