diff options
author | Gulsah Kose <gulsah.1004@gmail.com> | 2016-01-19 16:32:18 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-17 13:02:32 +0200 |
commit | a009ba2b8ed7ead021ecc3356a477a08e72d2191 (patch) | |
tree | efb3046135e99ad3e23aa6293fdda57f08f9459a /sc/sdi | |
parent | d562ee461735a6daa6dcdfcc559f851cad160aaf (diff) |
tdf#91013 Add new uno commands to freeze one row and column.
Added freezepanesfirstcolumn and freezepanesfirstrow commands.
FreezePanes button became a split button that includes this two new
uno commands. And this new commands added to menu.
Change-Id: Ic6958067cc98b3df50bcd06a1eac220bd9a61473
Reviewed-on: https://gerrit.libreoffice.org/21604
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Diffstat (limited to 'sc/sdi')
-rw-r--r-- | sc/sdi/scalc.sdi | 33 | ||||
-rw-r--r-- | sc/sdi/tabvwsh.sdi | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index 7193916d81ec..853bc79495eb 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -2080,6 +2080,39 @@ SfxVoidItem FreezePanes SID_WINDOW_FIX GroupId = GID_VIEW; ] +SfxVoidItem FreezePanesFirstColumn SID_WINDOW_FIX_COL +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + +SfxVoidItem FreezePanesFirstRow SID_WINDOW_FIX_ROW +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] SfxVoidItem FunctionBox FID_FUNCTION_BOX diff --git a/sc/sdi/tabvwsh.sdi b/sc/sdi/tabvwsh.sdi index e2becfbddc7b..3a25e81a7b1d 100644 --- a/sc/sdi/tabvwsh.sdi +++ b/sc/sdi/tabvwsh.sdi @@ -131,6 +131,8 @@ interface TableEditView SID_CURRENTDOC [ ExecMethod = Execute; StateMethod = GetState; ] SID_WINDOW_SPLIT [ ExecMethod = Execute; StateMethod = GetState; ] SID_WINDOW_FIX [ ExecMethod = Execute; StateMethod = GetState; ] + SID_WINDOW_FIX_ROW [ ExecMethod = Execute; ] + SID_WINDOW_FIX_COL [ ExecMethod = Execute; ] SID_SAVEDOC [ ExecMethod = ExecuteSave ; |