diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2023-04-28 11:48:25 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2023-05-23 00:43:06 +0200 |
commit | 0a74b5fcfbfa68ad1cab228d74f08e8c35bc6820 (patch) | |
tree | a487f1307bfd5cf92f145350e3731e6e1457a1e1 /sc/sdi/drawsh.sdi | |
parent | 1497d5c8dd97df0559cf718b5a78678aa5788eb1 (diff) |
sc drawstyles: Enable the clear DF command
.uno:StandardTextAttributes works for shape formatting already
(despite its name), but it's a different command than Format >
Clear DF. So let's connect the regular Clear DF command to the
same code.
Also includes a workaround for comments to maintain their size.
Changing the size (because of the "Fit height to text" setting)
is probably confusing for other shapes as well, but for comments
this requires an extra step to undo, as comments can't be resized
unless they're shown permanently. And manually resizing each
comment back will also result with inconsistency in their size.
Change-Id: I7c158523ecc4be18d17479632eaf9fd2a51dca12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151161
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sc/sdi/drawsh.sdi')
-rw-r--r-- | sc/sdi/drawsh.sdi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/sdi/drawsh.sdi b/sc/sdi/drawsh.sdi index 13f1d6b150df..668608c549ab 100644 --- a/sc/sdi/drawsh.sdi +++ b/sc/sdi/drawsh.sdi @@ -37,6 +37,7 @@ interface TableDraw SID_DRAW_CHART [ StateMethod = StateDisableItems; ] SID_TEXT_STANDARD [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ] + SID_CELL_FORMAT_RESET [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ] SID_DRAWTEXT_ATTR_DLG [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ] // ---- Slot-IDs for Objectbar: |