Apache OpenOffice (AOO) Bugzilla – Issue 101029
WW8: complex Table corrupted during export, content placed in wrong cells
Last modified: 2013-08-07 14:43:11 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.
Created attachment 61518 [details] testcase
2.4.2 saves the file just fine, 3.0.1 produces damaged .doc.
Changed summary and version.
SBA->MRU: Please have a look. Reassigned to MRU.
3.0.0 (Build 9358) Exported doc file is Ok (open doc in MS Word and Writer)
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.
Created attachment 61565 [details] shortened example
potential duplicate: Issue 101036
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.
Sending WW8TableInfo.cxx Sending WW8TableInfo.hxx Committed revision 270875. Sending wrtww8.cxx Committed revision 270876.
ready for QA
Verified fix in CWS sw31bf10.
Verified in OOo-dev 3.2.0 DEV300m44 WinXP Exported doc file is Ok (open doc in MS Word and Writer)
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