diff options
author | rafaelhlima <rafael.palma.lima@gmail.com> | 2022-02-05 20:36:19 -0300 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2022-02-15 13:37:31 +0100 |
commit | d519cbe89268ff24e2b8b05ba5124dca98f22b79 (patch) | |
tree | 6a834532a004ce039fb5c74043b3ca766279968d /sc/sdi | |
parent | 7b24b2f2a346bf65c9c997926ecddd1dc5aa05d5 (diff) |
tdf#145745 Create uno:DuplicateSheet command
Change-Id: Ic8d37f02d45c6f958bf6133c27997adea9bc8c7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129541
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc/sdi')
-rw-r--r-- | sc/sdi/docsh.sdi | 1 | ||||
-rw-r--r-- | sc/sdi/scalc.sdi | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sc/sdi/docsh.sdi b/sc/sdi/docsh.sdi index 4b7e2fe7fdd5..b4a8a04326d8 100644 --- a/sc/sdi/docsh.sdi +++ b/sc/sdi/docsh.sdi @@ -35,6 +35,7 @@ interface TableSelection SID_DETECTIVE_DEL_ALL [ ExecMethod = Execute; StateMethod = GetState; ] FID_TABLE_VISIBLE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ] FID_TAB_MOVE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ] + FID_TAB_DUPLICATE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ] FID_DELETE_TABLE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ] FID_TAB_RENAME [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ] FID_TAB_RTL [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ] diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index 861c76768d3b..8457654946fd 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -3428,6 +3428,23 @@ SfxVoidItem Move FID_TAB_MOVE GroupId = SfxGroupId::Edit; ] +SfxVoidItem DuplicateSheet FID_TAB_DUPLICATE +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = FALSE, + GroupId = SfxGroupId::Edit; +] + SfxVoidItem Name FID_TAB_RENAME (SfxStringItem Name FID_TAB_RENAME,SfxUInt16Item Index FN_PARAM_1) |