Apache OpenOffice (AOO) Bugzilla – Issue 18671
Background colour in linked paragraph style lost in WW8 roundtrip
Last modified: 2013-08-07 14:43:45 UTC
Hi Caolan, I've got a WW8 roundtrip problem - I hope it is ok to assign to you. I've attached a sample. Save and reload in Word 97 format, and the second paragraph becomes unreadable (black text on black background). Style 1: Background colour=black Style 2: Linked to style 1, background colour=white Style 2 looses it's background during WW8 roundtrip. .sxw format is ok. Tested on Debian using our RC3 packages.
Created attachment 8760 [details] Demonstration of problem
Yeah I see it, "no colour" bg doesn't get exported. So styles based on coloured ones which remove it don't roundtrip alright. Fixed in killarneyfilterteam13 for 2.0
Created attachment 8817 [details] Backport of fix to 1.1 RC3
Thanks for the fix. I backported it to 1.1 and verified that the document now saves correctly. I've attached the patch. Is there any reason why this can't be included in 1.1[.1]?
Theres no immediate technical reason I can see, but I'm a very cautious man. There may be *some* reason which isn't apparent why it wasn't simply implemented like this in the first place. I'd prefer to fix for 2.0, let it stew there for a while to stress test it, and then if it proves itself not have to unexpected knock-on effects and there is a desire for 1.1.1 we can backport it then.
reopen to reassign to qa
cmc->mru: Working in killarneyfilterteam13
Checked with CWS killarneyfilterteam13.
Do you think we could apply this for 1.1.1 now? This has been in the Debian/Ximian builds for quite a while now and I haven't had any reports of problems in this area. Thanks, Chris
No, this won't make its way into 1.1.1. We now only add VERY important or famous issues to 1.1.1.
cmc->mru: Working in droghedafilterteam15
Changed target to OO 1.1.1. Will be fixed there.
Alas, it seems that the export-bg-style.diff patch fixes the reported problem but causes another weird problem :-((( I am attaching the following three files: - ooo111a-test.sxw: a test document that evidences the problem I am reporting (this document has been prepared entirely with OOo Writer) - ooo111a-test.doc: the .doc export obtained with OOo 1.1.1a - ooo111a-test-reversedpatch.doc: the .doc export obtained with OOo 1.1.1a with the export-bg-style.diff patch reversed - Image2.gif: a screenshot showing how the two attached .doc's are shown by MSWord XP It seems that, in ooo111a-test.doc, the black background is due to the fact that the background of the corresponding style is not set to "No color", i.e. it is undefined... and MSWordXP shows it as black :-( Marco Pratesi
Created attachment 12315 [details] The OOo Writer document that evidences the problem
Created attachment 12316 [details] The .doc export obtained with OOo 1.1.1a
Created attachment 12317 [details] The .doc export obtained with OOo 1.1.1a with the sw-export-bg-style.diff patch reversed
Created attachment 12318 [details] The ms word xp screenshot that evidences the problem
.
Checked fix with CWS sligofilterteam19. Even the problem pratesi mentioned will be fixed with OO 1.1.1 then.
Verified. Fix will be included in OO 1.1.1.
Fix will be in OO 1.1.1. Checked with internal build srx645m27.