Bug 101931 - FILEOPEN: Drawings/shapes in DOCX (MS Office 2007) are not shown correctly (WPS)
Summary: FILEOPEN: Drawings/shapes in DOCX (MS Office 2007) are not shown correctly (WPS)
Status: RESOLVED DUPLICATE of bug 84399
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Whiteboard: interoperability
Keywords: filter:docx
Depends on:
Blocks: OOXML-Shapes DOCX-Textbox
  Show dependency treegraph
Reported: 2016-09-06 11:13 UTC by Ljiljan
Modified: 2020-03-04 10:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Working file (35.42 KB, application/wps-office.docx)
2016-09-06 11:14 UTC, Ljiljan
screen shot from MsO 2010 (49.59 KB, image/png)
2016-09-06 12:45 UTC, Cor Nouws

Note You need to log in before you can comment on or make changes to this bug.
Description Ljiljan 2016-09-06 11:13:37 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.92 Safari/537.36
Build Identifier: LibreOffice

Drawings from MS Office 2007 are not shown correctly

Reproducible: Always

Steps to Reproduce:
1.Open the attached file in LibreOffice
Actual Results:  
Text wraping inside shapes are not working so shapes are extended 
Border lines do not exists if you draw outside MS Office "Drawing Canvas"

Expected Results:  
Boxes should not be extended 

[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Reset User Profile?No
Comment 1 Ljiljan 2016-09-06 11:14:08 UTC
Created attachment 127171 [details]
Working file
Comment 2 Cor Nouws 2016-09-06 12:45:19 UTC
thanks Ljijan, I confirm the problems.
Only the third 'version' is shown correct.
Comment 3 Cor Nouws 2016-09-06 12:45:50 UTC
Created attachment 127172 [details]
screen shot from MsO 2010
Comment 4 Cor Nouws 2016-09-06 12:47:39 UTC
In it's completely wracked - so already some improvement..
Comment 5 Ljiljan 2016-09-06 15:56:30 UTC
Third version is actually PNG (how it should look).

The problem is when I try to edit this in LibreOffice. I cannot change the size of the textbox (unless I break the text or delete some text). Text-wrap option could not be find anywhere. 

I've notice that this textbox created in MSOffice, LibreOffice convert to "frame". 

After saving in DOCX from LibreOffice and opening again in LibreOffice, I was able to change the size.

Hope this can help to understand what is happening here.
Comment 6 QA Administrators 2018-01-18 03:34:03 UTC Comment hidden (obsolete)
Comment 7 Ljiljan 2018-01-18 20:24:58 UTC
The bug is stil present even in LibreOffice 6.0.

The original document was created with MS Office 2007 using drawing canvas, so it might be that DOCX standards were different at that time...
Comment 8 QA Administrators 2019-01-19 03:54:07 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2019-01-19 10:04:25 UTC
The error still exists in Version: (x64)
Build ID: eca59b6b8a0cf826ac59f77aec9acf045340c23f
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-01-16_03:48:12
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 10 Xisco Faulí 2020-03-04 10:16:49 UTC
Issue fixed by
Closing as a duplicate of bug 84399

*** This bug has been marked as a duplicate of bug 84399 ***