The emulation of legacy RES_BACKGROUND properties claims that (unless fillstyle is NONE) all of them are direct values, which causes export of legacy attributes like style:background-transparency without corresponding non-legacy draw:opacity.
Especially problematic for style:background-transparency, which is set to 100% if style is bitmap, which is the reasonable default for API backward compatibility of BackColorTransparency, but wrong for ODF.
c3e4966 tdf#90640: sw: ODF export: be consistent when exporting RES_BACKGROUND
sw/inc/swunohelper.hxx | 2 +-
sw/source/core/unocore/swunohelper.cxx | 53 +++++++++++++++++++++++++------
sw/source/core/unocore/unoframe.cxx | 9 ++++--
sw/source/core/unocore/unoparagraph.cxx | 5 +--
sw/source/core/unocore/unostyle.cxx | 23 ++++++++++----
5 files changed, 71 insertions(+), 21 deletions(-)
Upstream: cgit.freedesktop.org