Bug 87539

Summary: FILESAVE: DOCX - Image color/graphics modes not correctly exported
Product: LibreOffice Reporter: Jay Philips <philipz85>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: qubit, todventtu
Version: 4.5.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=87536
Whiteboard: needsWord filter:docx
i915 platform: i915 features:
Attachments: sample file
LO docx exported files edited in Word 2007 and 2010

Description Jay Philips 2014-12-20 22:58:14 UTC
Created attachment 111093 [details]
sample file

Steps:
1) Open attached file
2) Save as .docx
3) Open .docx in MS Word
4) Notice none of the images have color/graphics modes set

Version: 4.5.0.0.alpha0+
Build ID: e570cd7a293ceee175949dcc9656cdf776ae3c37
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-12-12_18:49:54
Comment 1 Jay Philips 2014-12-20 23:00:55 UTC
Created attachment 111094 [details]
LO docx exported files edited in Word 2007 and 2010

So here are .docx files that were saved from Word 2007 and 2010 which we created using the exported .docx file exported from LO and then applying those color/graphics modes to the images and then saved.
Comment 2 Jay Philips 2014-12-27 10:44:14 UTC
@Qubit: Even without MS Word, you can view the document using MS Word Viewer ( http://www.microsoft.com/en-us/download/details.aspx?id=4 ) or in WPS Writer ( http://www.wps.com/, http://wps-community.org/ ) which has full docx support. Both apps are free and can be run on windows or linux (ms word viewer through wine :D).
Comment 3 Robinson Tryon (qubit) 2014-12-27 14:21:32 UTC
(In reply to Jay Philips from comment #2)
> @Qubit: Even without MS Word, you can view the document using MS Word Viewer
> ...can be run on windows or linux (ms word viewer through wine :D).

Sounds good, I'll test w/Word viewer under wine.

TESTING on Ubuntu 14.04 with LO Version: 4.5.0.0.alpha0+
Build ID: 783ba49aa0cd068c7e3dacdd3c13e9c37cf52e22
TinderBox: Linux-rpm_deb-x86_64@46-TDF,
Branch:master, Time: 2014-12-18_11:21:12
Locale: en_US

(In reply to Jay Philips from comment #0)
> Steps:
> 1) Open attached file (attachment 111093 [details])

(Confirmed: Color Mode is set for all but the first image)

> 2) Save as .docx
> 3) Open .docx in MS Word

Using MS-Office Word Viewer 11.8169 SP3 (under Wine).

Got an error when trying to open the docx file. Same thing with some other docx files :(
Comment 4 Jay Philips 2014-12-27 15:01:03 UTC
Loaded just fine for me on wine. I have the following winetricks packages intalled.

corefonts
tahoma
gdiplus
comctl32
Comment 5 Beluga 2015-01-13 18:17:34 UTC
(In reply to Jay Philips from comment #0)
> Steps:
> 1) Open attached file
> 2) Save as .docx
> 3) Open .docx in MS Word
> 4) Notice none of the images have color/graphics modes set

Reproduced.

Win 8.1 32-bit
MSO 2013

LibO Version: 4.5.0.0.alpha0+
Build ID: b3b4bbaf6cbd2226b659fea7d6ae473ccf84e9dd
TinderBox: Win-x86@39, Branch:master, Time: 2015-01-12_06:13:44

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.