Bug 82182

Summary: FILEOPEN: File is corrupted after RT
Product: LibreOffice Reporter: Yogesh Bharate <yogesh.bharate>
Component: WriterAssignee: Yogesh Bharate <yogesh.bharate>
Status: RESOLVED FIXED    
Severity: normal CC: philipz85
Priority: medium    
Version: 4.4.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: Issue with data label position
Word 2010 VS 4.4

Description Yogesh Bharate 2014-08-05 09:30:19 UTC
Created attachment 104062 [details]
Issue with data label position

Problem description: 

Steps to reproduce:
1. Open document in LibreOffice
2. Save as .docx
3. Open in MS Office 2010.

Current behavior:
Document is corrupted.

Expected behavior:
Document should open properly.
              
Operating System: All
Version: 4.4.0.0.alpha0+ Master
Comment 1 Yousuf Philips (jay) (retired) 2014-08-06 00:38:12 UTC
Created attachment 104114 [details]
Word 2010 VS 4.4

Hi Yogesh,

The main problem is that its not loading the document into LibO correctly, so when it saves it to docx it gets corrupted. It doesnt get corrupted in 4.2.6, though it still isnt correctly imported or exported.
Comment 2 Yousuf Philips (jay) (retired) 2014-08-06 01:11:42 UTC
I've submitted these three bugs so that the docx will open similar to Word 2010.

Bug 82216 - FILEOPEN: DOCX with OLE Chart missing chart name (regression)
Bug 82217 - FILEOPEN: DOCX with OLE Chart missing border
Bug 82218 - FILEOPEN: DOCX with OLE Chart missing chart data
Comment 3 Yogesh Bharate 2014-08-06 06:36:09 UTC
Hi Jay ... 

- The attached document contain chart with data labels.

- The document corrupted due to the dLblPos value is inserted as "outEnd" which is not in original document.

- This is regression issue, which is due to Yoshida Kohei patch.
Link : http://cgit.freedesktop.org/libreoffice/core/commit/?id=48f31a924280a418046f0c816f8a7d20b672dac6
Comment 4 Yogesh Bharate 2014-08-08 07:07:36 UTC
This is fixed due to Yoshida Kohei yesterday code patch.

Patch link :
http://cgit.freedesktop.org/libreoffice/core/commit/?id=7b8073906adca8dae24c04a23708a3f3d582218f

I checked this issue on today's windows build.
Build ID :
Version: 4.4.0.0.alpha0+
Build ID: 57dcc9f3e9a7d2ebc86cf444729a7a08820418a1
TinderBox: Win-x86@42, Branch:master, Time: 2014-08-08_01:29:06
Comment 5 Yogesh Bharate 2014-08-08 07:07:58 UTC
This is fixed due to Yoshida Kohei yesterday code patch.

Patch link :
http://cgit.freedesktop.org/libreoffice/core/commit/?id=7b8073906adca8dae24c04a23708a3f3d582218f

I checked this issue on today's windows build.
Build ID :
Version: 4.4.0.0.alpha0+
Build ID: 57dcc9f3e9a7d2ebc86cf444729a7a08820418a1
TinderBox: Win-x86@42, Branch:master, Time: 2014-08-08_01:29:06