diff options
author | Jim Raykowski <raykowj@gmail.com> | 2018-12-23 00:15:40 -0900 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2019-01-06 20:15:22 +0100 |
commit | 47e9db9c8490167e265b17ae44bb790a160703b5 (patch) | |
tree | 6c48c1932ef9180ae039189f6cfb822671c324e5 /officecfg | |
parent | 2e189c2464de007b3d59ba37d4f3f1cfbe5b480c (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 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu | 11 | ||||
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu index 3a9f1527cab4..d135a4571c62 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu @@ -1299,6 +1299,17 @@ <value>com.sun.star.comp.svx.ColorToolBoxControl</value> </prop> </node> + <node oor:name="TableCellBackgroundColorToolBox" oor:op="replace"> + <prop oor:name="Command"> + <value>.uno:TableCellBackgroundColor</value> + </prop> + <prop oor:name="Module"> + <value/> + </prop> + <prop oor:name="Controller"> + <value>com.sun.star.comp.svx.ColorToolBoxControl</value> + </prop> + </node> <node oor:name="ColorToolBox" oor:op="replace"> <prop oor:name="Command"> <value>.uno:Color</value> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index 75b5eb0f62b6..b0b8e04cf3a7 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -3394,6 +3394,14 @@ <value>1</value> </prop> </node> + <node oor:name=".uno:TableCellBackgroundColor" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Table Cell Background Color</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> </node> </node> </oor:component-data> |