Apache OpenOffice (AOO) Bugzilla – Issue 127592
Table in docx loses column when saved as odt even though data in column appears in odt content.xml
Last modified: 2018-11-15 21:55:08 UTC
Created attachment 86258 [details] 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.
I could only find the already-corrupted .odt. The original .docx is important for debug.
1st Post in Forum Link is a docx die uploaded.
Created attachment 86259 [details] file error column.docx My apologies - I meant to upload the .docx but forgot. I have now uploaded it here.
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
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.