Issue 101029 - WW8: complex Table corrupted during export, content placed in wrong cells
Summary: WW8: complex Table corrupted during export, content placed in wrong cells
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.1 RC1
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-04-12 13:01 UTC by kpalagin
Modified: 2013-08-07 14:43 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
testcase (15.73 KB, application/vnd.oasis.opendocument.text)
2009-04-12 13:02 UTC, kpalagin
no flags Details
shortened example (14.20 KB, application/vnd.oasis.opendocument.text)
2009-04-14 15:05 UTC, openoffice
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description kpalagin 2009-04-12 13:01:49 UTC
(this is not dup of 100493 or 100449, eventhough 100449 is very close by 
description).
Using 3.1RC1 or m44 save attached .odt to .doc, open result in Word - Word 
complains that table is corrupt, open in Writer - table is damaged.
Suggest fixing for 3.1.
Comment 1 kpalagin 2009-04-12 13:02:26 UTC
Created attachment 61518 [details]
testcase
Comment 2 kpalagin 2009-04-12 13:03:45 UTC
2.4.2 saves the file just fine, 3.0.1 produces damaged .doc.
Comment 3 eric.savary 2009-04-12 13:32:54 UTC
Changed summary and version.
Comment 4 stefan.baltzer 2009-04-12 20:06:11 UTC
SBA->MRU: Please have a look. 
Reassigned to MRU.
Comment 5 antec 2009-04-14 05:50:27 UTC
3.0.0 (Build 9358)
Exported doc file is Ok (open doc in MS Word and Writer)
Comment 6 michael.ruess 2009-04-14 11:06:21 UTC
MRU->HBRINKM: export attached document to WW8 format and open
- in Writer: content at the bottom of table is in wrong cells
- in WW: content placed wrong, table structure at the bottom is broken

Please fix in OOo 3.1, has been nominated as stopper.
Comment 7 openoffice 2009-04-14 15:05:38 UTC
Created attachment 61565 [details]
shortened example
Comment 8 openoffice 2009-04-16 08:52:54 UTC
potential duplicate: Issue 101036
Comment 9 openoffice 2009-04-16 09:00:14 UTC
Analysis:

The general assumption in WW8 export is that the nodes in SwNodes are in document order. But, as 
further investigation reveals, this assumption does not hold for nodes inside tables. SwTable in concert 
with SwTableLines and SwTableBoxes determine the document order of nodes. This has to be reflected in 
WW8TableNodeInfo. The then available order information from WW8TableNodeInfo has to be preferred for 
finding the next node when exporting to WW8.
Comment 10 openoffice 2009-04-16 11:05:23 UTC
Sending        WW8TableInfo.cxx
Sending        WW8TableInfo.hxx
Committed revision 270875.
Sending        wrtww8.cxx
Committed revision 270876.
Comment 11 openoffice 2009-04-16 16:20:43 UTC
ready for QA
Comment 12 michael.ruess 2009-04-16 17:30:02 UTC
Verified fix in CWS sw31bf10.
Comment 13 larysahitekschool 2009-05-01 20:03:23 UTC
Verified in OOo-dev 3.2.0 DEV300m44 WinXP
Exported doc file is Ok (open doc in MS Word and Writer)
Comment 14 natalia_hitekschool 2009-05-02 01:35:20 UTC
Verified on OOo310m11, Windows, Vista.

1. Saved attached ODT document as DOC 
2. Opened saved file in MS Word
3. Opened save dfile in OOo310m11

Expected result: File haven't changed
Actual result:   File haven't changed, no corruptions