From 47e9db9c8490167e265b17ae44bb790a160703b5 Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Sun, 23 Dec 2018 00:15:40 -0900 Subject: tdf#82504 writer table cell background color SvxColorItem uno function Current background color function only sets table cell background when multiple table cells are selected. Paragraph background is otherwise set. This gives expected results for use in sidebar Paragraph panel when multiple table cells are not selected but unexpected results when multiple table cells are selected. For background setting from the table tool bar unexpected paragraph background color is set when multiple cells are not selected. This fix creates a table cell background color uno command specific for setting table cell background color. Change-Id: Ic56723b635252415d932c5499f996c3e46eee13b Reviewed-on: https://gerrit.libreoffice.org/65591 Tested-by: Jenkins Reviewed-by: Heiko Tietze --- sw/sdi/_basesh.sdi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sw/sdi/_basesh.sdi') diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi index bb66c461644b..472198cdc922 100644 --- a/sw/sdi/_basesh.sdi +++ b/sw/sdi/_basesh.sdi @@ -206,6 +206,14 @@ interface BaseTextSelection DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] + SID_TABLE_CELL_BACKGROUND_COLOR + [ + ExecMethod = ExecBckCol ; + StateMethod = GetBckColState ; + AutoUpdate ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] + SID_BACKGROUND_COLOR // status() [ ExecMethod = ExecBckCol ; -- cgit