summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-12-23 00:15:40 -0900
committerHeiko Tietze <tietze.heiko@gmail.com>2019-01-06 20:15:22 +0100
commit47e9db9c8490167e265b17ae44bb790a160703b5 (patch)
tree6c48c1932ef9180ae039189f6cfb822671c324e5 /include
parent2e189c2464de007b3d59ba37d4f3f1cfbe5b480c (diff)
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 <tietze.heiko@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svxids.hrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc
index da6e743e272e..a1b063c71e7f 100644
--- a/include/svx/svxids.hrc
+++ b/include/svx/svxids.hrc
@@ -975,9 +975,11 @@ class SfxStringItem;
#define SID_TABLE_OPTIMAL_COLUMN_WIDTH ( SID_SVX_START + 1187 )
#define SID_TABLE_OPTIMAL_ROW_HEIGHT ( SID_SVX_START + 1188 )
+#define SID_TABLE_CELL_BACKGROUND_COLOR TypedWhichId<SvxColorItem>( SID_SVX_START + 1189 )
+
// IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id
-#define SID_SVX_FIRSTFREE ( SID_TABLE_OPTIMAL_ROW_HEIGHT + 1 )
+#define SID_SVX_FIRSTFREE ( SID_SVX_START + 1189 + 1 )
// Overflow check for slot IDs
#if SID_SVX_FIRSTFREE > SID_SVX_END