Issue 102434

Summary: WW8: Background color of table cells in (exported) DOC format not shown
Product: Writer Reporter: cenopelepi <cenopelepi>
Component: save-exportAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues, marcus, Mathias_Bauer, michael.ruess
Version: OOO310m11Keywords: data_loss, ms_interoperability, regression, release_blocker
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 99999    
Attachments:
Description Flags
cellbg.doc
none
ODF file
none
DOC generated by OOo Writer
none
RTF from same ODF
none
Calc spreadsheet with background cells
none
ODS file with problematic backgrounds none

Description cenopelepi 2009-06-02 10:48:03 UTC
I have generated ODT file with table and cells shading (fo:background-color
attribute). When export to DOC is done, and opened in Word there is no
background color on cells (Word 2003). When same DOC file is opened with OO
Writer color is there.

I don't see how can i submit example file?

Similar problem is with table width in RTF, but that is another issue.

P.s. We generate are own ODF files and converts it using OOo.
P.s2. Same file converted from Calc to Excel (ods to xls) works good.
Comment 1 eric.savary 2009-06-02 20:49:45 UTC
Please attach a sample document.
(click on "Create a new attachment" on this page.)
Comment 2 eric.savary 2009-06-02 21:29:57 UTC
@cenopelepi: I could reproduce it from scratch

@hbrinkm: standing for MRU on vacation... Sorry if it's a dup I didn't find! :)
The attached document contains a table with cell backgrounds (saved in 3.0.1)
Cells backgrounds are displayed correctly in Word
Save document in 3.1
-> Cells backgrounds don't display in Word

Comment 3 eric.savary 2009-06-02 21:31:09 UTC
Created attachment 62731 [details]
cellbg.doc
Comment 4 cenopelepi 2009-06-03 08:12:24 UTC
Created attachment 62741 [details]
ODF file
Comment 5 cenopelepi 2009-06-03 08:13:25 UTC
Created attachment 62742 [details]
DOC generated by OOo Writer
Comment 6 cenopelepi 2009-06-03 08:22:02 UTC
I'm suprised for this quick response, all the best for you :-)

Attached DOC file opens good in Writer but bad in Word 2003.

I don't think that we will roll back to 3.0.1 for now, it is not such a big
issue, as we are still migrating from RTF to ODF generating.

Becouse this is so connected i submit a RTF file generated from same ODF,
background is good, but table width not.

P.s. In my maner i write another issue :-) It is so wrong not to show reloaded
document when saved in other format. You need to close and reopen, just to see
how that format looks.
Comment 7 cenopelepi 2009-06-03 08:23:25 UTC
Created attachment 62743 [details]
RTF from same ODF
Comment 8 michael.ruess 2009-09-01 12:12:40 UTC
*** Issue 104673 has been marked as a duplicate of this issue. ***
Comment 9 lefty_kreouzis 2009-09-08 09:18:10 UTC
The following use case bug might be related:

1. Create a formatted table in calc (as in test.ods), 
2. copy the table
3. open writer
4. Paste special > Formatted text (RTF) in writer. The table is pasted without
cell background.
5. Paste special > HTML in writer. The table is pasted with cell background

Comment 10 lefty_kreouzis 2009-09-08 09:19:24 UTC
Created attachment 64602 [details]
Calc spreadsheet with background cells
Comment 11 lefty_kreouzis 2009-09-08 09:20:30 UTC
Created attachment 64603 [details]
ODS file with problematic backgrounds
Comment 12 eric.savary 2009-09-23 15:15:41 UTC
*** Issue 105307 has been marked as a duplicate of this issue. ***
Comment 13 michael.ruess 2009-10-16 13:35:13 UTC
*** Issue 105955 has been marked as a duplicate of this issue. ***
Comment 14 zenshaolin 2009-10-23 12:51:49 UTC
I could reproduce it on writer 3.1.1
Comment 15 openoffice 2009-10-26 15:37:35 UTC
did not manage to fix for OOo 3.2
Comment 16 openoffice 2009-10-30 15:00:57 UTC
regression -> no 3.x target
Comment 17 Marcus 2009-10-30 17:24:53 UTC
nominated as 3.2 blocker
Comment 18 openoffice 2009-11-04 15:11:47 UTC
fixed

Sending        ww8/wrtww8.cxx
Sending        ww8/ww8atr.cxx
Committed revision 277357.
Comment 19 openoffice 2009-11-16 14:41:52 UTC
ready for QA
Comment 20 michael.ruess 2009-11-19 16:44:43 UTC
Verified fix in CWS hb32showstoppers2.
Comment 21 eric.savary 2009-11-24 11:25:32 UTC
*** Issue 107167 has been marked as a duplicate of this issue. ***
Comment 22 michael.ruess 2009-11-24 11:35:34 UTC
Adjusting the summary a little bit.
Comment 23 michael.ruess 2010-05-05 12:30:56 UTC
Checked fix in DEV300m77.