Bug 48610 - FILEOPEN: tables content shown as text from .doc and not shown from .docx if created in Text Box inside Drawing Canvas
Summary: FILEOPEN: tables content shown as text from .doc and not shown from .docx if ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOC-Tables DOCX-Canvas-Shape
  Show dependency treegraph
Reported: 2012-04-12 07:48 UTC by Sergey
Modified: 2022-10-09 15:35 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Example of 'invisible' table frame (875.00 KB, application/msword)
2012-04-12 07:48 UTC, Sergey
Example compared MSO LO.jpg (132.90 KB, image/jpeg)
2018-10-03 08:44 UTC, Timur
Example 1st page DOC (78.00 KB, application/vnd.ms-word)
2018-10-03 08:45 UTC, Timur
Example 1st page DOCX (33.93 KB, application/vnd.ms-word.document.12)
2018-10-03 08:45 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2012-04-12 07:48:40 UTC
Created attachment 59862 [details]
Example of 'invisible' table frame

Problem description: 

When you open some documents contain tables, the table frame disappears.

Steps to reproduce:
1. Open some .doc files contain tables

Current behavior:
Disappearing of the tables frame

Expected behavior:
The table frame must be visible in documents

Platform (if different from the browser): 
Browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
Comment 1 Rainer Bielefeld Retired 2012-04-12 10:26:15 UTC
[Reproducible] with "LibreOffice German UI/Locale [Build-ID: 281b639-6baa1d3-ef66a77-d866f25-f36d45f] on German WIN7 Home Premium (64bit). 
documents look more or less equal in all OOo / LibO Versions I tested starting with OOo 1.1.4

Steps how to reproduce:
1. open attached sample document
2. Search for String "Ещё пример задания"
   > Under heading you find a text area with grey background
     Below some 2 columns listing
   Expected: looks like in WORD
   Actual: WORD shows quite a normal Table, LibO a completely different 
           looking listing without cell borders and contents totally mangled

This document shows several (may be related) different table problems, some of the tables look very strange, with "ghost tables spitted away, ... . We will limit this bug to the problem shown in the first table

Is information available how this document has been created 8with what software)?
Can you please submit additional bugs for the other problems with link reference to the sample here for other bugs?
Comment 2 Sergey 2012-04-13 06:35:05 UTC
I know this document has been crated in March 2012 in Microsoft Word.

Then. Find these words:
"В фрагменте базы данных представлены сведения о родственных отношениях. Определите на основании приведенных данных, фамилию и инициалы племянника Симоняна Н.И."

There are more than one example of cell borders.
Comment 3 Rainer Bielefeld Retired 2012-05-27 01:11:06 UTC Comment hidden (obsolete)
Comment 4 Rainer Bielefeld Retired 2012-05-27 02:27:34 UTC Comment hidden (obsolete)
Comment 5 Sergey 2012-05-27 03:26:18 UTC Comment hidden (obsolete)
Comment 6 Teo91 2013-09-30 12:31:43 UTC
I can confirm this with LO 4.1.1 on Windows 7 SP1.
Comment 7 Cédric Bosdonnat 2014-01-20 08:57:16 UTC
Restricted my LibreOffice hacking area
Comment 8 QA Administrators 2015-07-18 17:43:09 UTC Comment hidden (obsolete)
Comment 9 Sergey 2015-07-25 07:47:25 UTC
The bug is still present.

OS: Xubuntu 14.04
Kernel: 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Build ID: 40m0(Build:3)
Locale: en_US.UTF-8
Comment 10 QA Administrators 2016-09-20 10:18:28 UTC Comment hidden (obsolete)
Comment 11 Xisco Faulí 2017-09-21 21:32:32 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2018-10-02 02:53:44 UTC Comment hidden (obsolete)
Comment 13 Timur 2018-10-03 08:44:59 UTC
Created attachment 145343 [details]
Example compared MSO LO.jpg

Repro 6.2+. 
I rename to "tables content shown as text from .doc and not shown from .docx if created in Text Box inside Drawing Canvas". 
I'll also add somewhat modified 1st page .doc and .docx.
Comment 14 Timur 2018-10-03 08:45:36 UTC
Created attachment 145344 [details]
Example 1st page DOC
Comment 15 Timur 2018-10-03 08:45:59 UTC
Created attachment 145345 [details]
Example 1st page DOCX
Comment 16 QA Administrators 2019-10-04 03:05:07 UTC Comment hidden (obsolete)
Comment 17 Timur 2019-10-04 06:52:11 UTC Comment hidden (obsolete)
Comment 18 Xisco Faulí 2020-03-04 11:39:53 UTC
Still reproducible in

Build ID: c57d6d39c80844c9d4c6bfed85cc151e52a67b34
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 19 NISZ LibreOffice Team 2020-10-08 10:28:45 UTC
Canvas is imported as grouped shape, which consists of editeng shapes. Those in turn cannot contain complex content such as tables.
The whole grouped shape handling should be moved over to writer shapes, see bug #100074 about a start.
Comment 20 QA Administrators 2022-10-09 03:50:00 UTC Comment hidden (obsolete)
Comment 21 Rainer Bielefeld Retired 2022-10-09 15:35:53 UTC