[Libreoffice-bugs] [Bug 142059] New: FILEOPEN DOCX Embedded document is not positioned correctly inside OLE object

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 3 13:42:24 UTC 2021


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

            Bug ID: 142059
           Summary: FILEOPEN DOCX Embedded document is not positioned
                    correctly inside OLE object
           Product: LibreOffice
           Version: 4.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: implementationError
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org, varga.balazs3 at nisz.hu
            Blocks: 112976

Created attachment 171607
  --> https://bugs.documentfoundation.org/attachment.cgi?id=171607&action=edit
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:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=93b35682c4458f76f09e10cf934dd51adfb26deb..56c9850145faa9ac04c3f09633e56b6c8c22c6c4 

Of which this commit stands out:

author  Miklos Vajna <vmiklos at collabora.co.uk>  2014-08-27 15:24:37 +0200
committer       Miklos Vajna <vmiklos at collabora.co.uk>  2014-08-27 15:34:41
+0200

DOCX import: fix handling of embedded DOCX files

This would make it an implementation error.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112976
[Bug 112976] [META] DOCX (OOXML) OLE object-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210503/342145de/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list