diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-26 14:56:09 +0200 |
---|---|---|
committer | Yousuf Philips <philipz85@hotmail.com> | 2015-06-01 17:12:21 +0000 |
commit | c1b9d61bacaf676d69a0f49a79fb086535f79a48 (patch) | |
tree | 473ca93d17b6183e31072f495fcd6335c2ce9eed /svx/sdi | |
parent | 4e6713e923a8dc1eae00a29060720d91b9134cfa (diff) |
tdf#88276: Add slot and handlers for toolbar|sidebar buttons
those changes make getting/setting of text background colour
possible from toolbar and sidebar buttons, but likely more
handlers needs to be added to various other places in the code
Change-Id: I698ca2304399befdd63317eb8872aa3129f27637
Reviewed-on: https://gerrit.libreoffice.org/15909
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Diffstat (limited to 'svx/sdi')
-rw-r--r-- | svx/sdi/svx.sdi | 25 | ||||
-rw-r--r-- | svx/sdi/svxitems.sdi | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 91f08bf8ba60..941f3e8d1966 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -2169,6 +2169,31 @@ SvxColorItem Color SID_ATTR_CHAR_COLOR GroupId = GID_FORMAT; ] +SvxBackgroundColorItem CharBackColor SID_ATTR_CHAR_BACK_COLOR + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_FORMAT; +] SfxBoolItem ColorControl SID_COLOR_CONTROL diff --git a/svx/sdi/svxitems.sdi b/svx/sdi/svxitems.sdi index b8d771160d06..6887062ebdfb 100644 --- a/svx/sdi/svxitems.sdi +++ b/svx/sdi/svxitems.sdi @@ -320,6 +320,7 @@ item INT16 SvxCharReliefItem; item BOOL SvxBlinkItem; item BOOL SvxAutoKernItem; item INT32 SvxColorItem; +item INT32 SvxBackgroundColorItem; item BOOL SvxContourItem; item INT16 SvxFormatBreakItem; // enum item BOOL SvxFormatKeepItem; |