You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2017/11/12 12:42:56 UTC

[Issue 127592] New: Table in docx loses column when saved as odt even though data in column appears in odt content.xml

https://bz.apache.org/ooo/show_bug.cgi?id=127592

          Issue ID: 127592
        Issue Type: DEFECT
           Summary: Table in docx loses column when saved as odt even
                    though data in column appears in odt content.xml
           Product: Writer
           Version: 4.1.4
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: john.ha24@yahoo.co.uk
  Target Milestone: ---

Created attachment 86258
  --> https://bz.apache.org/ooo/attachment.cgi?id=86258&action=edit
docx file with 4 column table - column 4 is lost when saved as .odt

See forum post Column (and content) lost after saving a .docx as a .odt at
https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=91114

1.  Download attached .docx file - note it has a 4 column table
2.  Save as .odt
3.  Open .odt

Expected result:  Table will be displayed with all 4 columns 

Actual result:  Column 4 is now missing from table.

1.  Download attached .docx file
2.  Edit file and add zebra, cat and dog to rows in column 4
3.  Save as .odt
4.  Open .odt 


Expected result:  Table will be displayed with all 4 columns and data 

Actual result:  Column 4 is now missing from table as before.

5.  Extract content.xml from saved .odt file

Note 1. See that zebra (line 157), cat (line 172) and dog (line 187) appear in
pretty-printed content.xml

Note 2. The text in rows 1 and 2 has been set to white which is why it is not
visible.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127592] Table in docx loses column when saved as odt even though data in column appears in odt content.xml

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127592

Peter <le...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leginee@gmail.com

--- Comment #2 from Peter <le...@gmail.com> ---
1st Post in Forum Link is a docx die uploaded.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127592] Table in docx loses column when saved as odt even though data in column appears in odt content.xml

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127592

Massimo Santi <in...@massimosanti.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |info@massimosanti.it

--- Comment #5 from Massimo Santi <in...@massimosanti.it> ---
Same happened with a similar table in one of my files (OpenOffice/4.1.3 Win32
OpenOffice.org_project/413m1 Build-9783)
To unhide the columns in the odt file, I modified content.xml by removing:
<table:covered-table-cell/>
and by replacing "2" with "0" in:
number-columns-spanned="2"
This replacement works also on the odt file attached to this bug report.
So it seems to be something related to that table cells and spanning.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127592] Table in docx loses column when saved as odt even though data in column appears in odt content.xml

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127592

Keith N. McKenna <kn...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.1.6
    Confirmation in|                            |

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127592] Table in docx loses column when saved as odt even though data in column appears in odt content.xml

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127592

Keith N. McKenna <kn...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |knmc@apache.org
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #4 from Keith N. McKenna <kn...@apache.org> ---
Confirmed with the followin configuration

Intel (R) Pentium(R) CPU 4405U @2.10GHz, 2112MHz, 2(Core(s) 4 Logical
Processors
Total Physical Memory 8.00 GB
Operating System: Windows 10 Home Version 10.0.15063 Build 15063

Apache Open Office:
AOO414m5(Build:9788)  -  Rev. 1811857
2017-10-11 20:12
Language: en_US
Additional Language Packs: None

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127592] Table in docx loses column when saved as odt even though data in column appears in odt content.xml

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127592

--- Comment #3 from John <jo...@yahoo.co.uk> ---
Created attachment 86259
  --> https://bz.apache.org/ooo/attachment.cgi?id=86259&action=edit
file error column.docx

My apologies - I meant to upload the .docx but forgot.  I have now uploaded it
here.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127592] Table in docx loses column when saved as odt even though data in column appears in odt content.xml

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127592

Patricia Shanahan <pa...@acm.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pats@acm.org

--- Comment #1 from Patricia Shanahan <pa...@acm.org> ---
I could only find the already-corrupted .odt. The original .docx is important
for debug.

-- 
You are receiving this mail because:
You are the assignee for the issue.