diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2022-07-05 01:03:07 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2022-07-05 13:40:53 +0200 |
commit | b0a3245c63a2f77ce761ebd11820b341969a48b4 (patch) | |
tree | cf02464796e29e3ae8295e5c56965a5ff6194cff /sw/sdi | |
parent | 18dacc47b212bec440a5f729a2787aa91db89b44 (diff) |
tdf#149741 Mirror insert column icons for RTL tables
The usual approach of setting the respective property
in *Commands.xcu won't work here, as that works with
the paragraph direction, which doesn't have to be the
same as the table direction.
Change-Id: I9c4d49a5c553a8a74e7760d257167a0be42c89c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136818
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_tabsh.sdi | 4 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/sdi/_tabsh.sdi b/sw/sdi/_tabsh.sdi index 5d4017b4790d..e4b6b9a2dd6c 100644 --- a/sw/sdi/_tabsh.sdi +++ b/sw/sdi/_tabsh.sdi @@ -141,7 +141,7 @@ interface BaseTextTable FN_TABLE_INSERT_COL_BEFORE // status(final|play) [ ExecMethod = Execute ; - StateMethod = NoState ; + StateMethod = GetState ; DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] @@ -156,7 +156,7 @@ interface BaseTextTable FN_TABLE_INSERT_COL_AFTER // status(final|play) [ ExecMethod = Execute ; - StateMethod = NoState ; + StateMethod = GetState ; DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index bf4ed3ec8b25..49fa8f2bb4e6 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -2643,7 +2643,7 @@ SfxVoidItem InsertColumnDialog FN_TABLE_INSERT_COL_DLG GroupId = SfxGroupId::Table; ] -SfxVoidItem InsertColumnsBefore FN_TABLE_INSERT_COL_BEFORE +SfxImageItem InsertColumnsBefore FN_TABLE_INSERT_COL_BEFORE () [ AutoUpdate = FALSE, @@ -2680,7 +2680,7 @@ SfxVoidItem InsertColumns FN_TABLE_INSERT_COL GroupId = SfxGroupId::Table; ] -SfxVoidItem InsertColumnsAfter FN_TABLE_INSERT_COL_AFTER +SfxImageItem InsertColumnsAfter FN_TABLE_INSERT_COL_AFTER () [ AutoUpdate = FALSE, |