Bug 66039 - FILEOPEN: table in DOC/X text box is not imported - add groupshape support
Summary: FILEOPEN: table in DOC/X text box is not imported - add groupshape support
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOC-Textbox
  Show dependency treegraph
Reported: 2013-06-22 09:33 UTC by Andras Timar
Modified: 2020-10-19 07:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

bugdoc (63.50 KB, application/msword)
2013-06-22 09:33 UTC, Andras Timar
bugdoc compare MSO-LO (74.48 KB, image/jpeg)
2016-11-17 16:25 UTC, Timur
bugdoc saved in MSO as DOCX (57.90 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-10-19 07:30 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Timar 2013-06-22 09:33:40 UTC
Created attachment 81199 [details]

The table in text box is imported incorrectly.
Comment 1 Jorendc 2013-06-25 22:31:45 UTC
I can confirm this behavior using Mac OSX 10.8.3 with LibreOffice RC. Only top text is visible, no table.

Kind regards,
Comment 2 Jan Koberstein 2013-06-26 08:14:24 UTC

I can confirm that the attached document is displayed impropperly/the table inside text box is ignored with
OS: Win7 Home Premium 32bit, LibO version: (Build ID: 1b39567) and
OS: Win7 Home Premium 32bit, LibO version: (Build ID: f969faf) and
OS: Linux Mint 12 64bit, LibO version: 3.4.4 OOO340m1 (Build: 402).

A short look into the file-information of the doc shows the file was created with MS Word 9.0 (MS Word 2000).
So I created a similar doc with MS Word 2007, saved it as DOCX and DOC and openend both in above mentioned LibO versions and the new docs are displayed as expected.

I suppose this problem only affects documents saved with older MS Word versions that are no longer supported by MS.

Jan Koberstein
Comment 3 Jorendc 2013-06-26 09:05:13 UTC
Nice research Jan. Really appreciated!

@Timar: you know the origin of this document? If it is your document, are you able to reproduce Jan' findings?

Kind regards,
Comment 4 Andras Timar 2013-06-26 09:20:39 UTC
(In reply to comment #3)
It is out of question, that you can create a document form scratch, that looks the same and opens well in LibreOffice. Almost all import problems can be worked around that way. In this case, the problem probably is, that a feature of binary doc format is not implemented in LibreOffice -- tables in groupshapes(?). See bug 66040 for the rtf counterpart, which has been fixed already.
Comment 5 QA Administrators 2015-04-19 03:20:21 UTC Comment hidden (obsolete)
Comment 6 Andras Timar 2015-04-19 07:55:30 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2016-09-20 09:24:47 UTC Comment hidden (obsolete)
Comment 8 Andras Timar 2016-09-20 09:34:32 UTC
Confirmed with Version:
Build ID: 0f33526ec27a3abcfa1ca9348a46238b1432e5e4
Comment 9 Timur 2016-11-17 16:25:47 UTC
Created attachment 128819 [details]
bugdoc compare MSO-LO
Comment 10 Timur 2017-01-31 12:05:12 UTC
Since Andras referenced bug 66040 that Miklos fixed for RTF, I add him and description from that bug. 
DOCX saved with MSO and opened in LO is also wrong.
Comment 11 QA Administrators 2018-10-01 02:53:33 UTC Comment hidden (obsolete)
Comment 12 Timur 2018-10-01 15:10:26 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2019-10-02 02:56:20 UTC Comment hidden (obsolete)
Comment 14 Andras Timar 2019-10-02 12:36:39 UTC Comment hidden (obsolete)
Comment 15 Timur 2020-10-19 07:30:11 UTC
Created attachment 166490 [details]
bugdoc saved in MSO as DOCX

Repro 7.1+. Both DOC and DOCX.