diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-08-25 19:08:00 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-08-26 23:00:34 +0200 |
commit | f38f018053a43d1f7b473103e936abe2d4d8fa05 (patch) | |
tree | eeb05f2b5d2c153061e5cf79ff02fc1f539f3f71 /officecfg | |
parent | 982537d77c2db463cc053cfdcd522530a3834c9e (diff) |
tdf#92379: sw: ODF import: fix fo:background-color="transparent"
The problem is that if the FillStyle is NONE, setting only
ParaBackTransparent but not ParaBackColor does absolutely nothing.
This means that if a parent style sets a background color, then a
derived style cannot override it to be transparent.
Cause is that getSvxBrushItemFromSourceSet() defaults to setting a
0xFF transparency on the SvxBrushItem.
There is still a problem that getSvxBrushItemFromSourceSet() sets the
pool default item's color and that is also exported to ODF again as
draw:fill-color, but together with draw:fill="none" it should not cause
harm, at least for consumers that prefer draw:fill attributes like
LO >= 4.4.
(regression from 7d9bb549d498d6beed2c4050c402d09643febdfa)
Change-Id: I5312901166a0e6f0cf02369b173dc8498e4113ed
Diffstat (limited to 'officecfg')
0 files changed, 0 insertions, 0 deletions