diff options
author | Gulsah Kose <gulsah.1004@gmail.com> | 2017-11-20 23:45:02 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-12-17 21:48:16 +0100 |
commit | 5afa76782d192d66711e02400987d6153ef9e5a7 (patch) | |
tree | 22b68835eebdf4a0096b2dd6f40661d4fc8b132e /sfx2/sdi | |
parent | c9a02670076afcba9157ef3a378b8c42b06301c1 (diff) |
tdf#113928 Add uno:ReadOnlyDoc command.
That uno command is opposition to uno:EditDoc command.
Change-Id: I34977a46c274574e8e44097a16c0fa8972d68559
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/45005
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sfx2/sdi')
-rw-r--r-- | sfx2/sdi/frmslots.sdi | 5 | ||||
-rw-r--r-- | sfx2/sdi/sfx.sdi | 19 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sfx2/sdi/frmslots.sdi b/sfx2/sdi/frmslots.sdi index f4c824ec29ab..09aafef95b7d 100644 --- a/sfx2/sdi/frmslots.sdi +++ b/sfx2/sdi/frmslots.sdi @@ -208,6 +208,11 @@ interface BrowseWindow : Window ExecMethod = ExecReload_Impl ; StateMethod = StateReload_Impl ; ] + SID_READONLYDOC // ole(?opt) api(play/rec) + [ + ExecMethod = ExecReload_Impl ; + StateMethod = StateReload_Impl ; + ] SID_RELOAD // ole(?opt) api(play/rec) [ ExecMethod = ExecReload_Impl ; diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 659e3763bfd1..79d10caa0716 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -1050,6 +1050,25 @@ SfxVoidItem EditDoc SID_EDITDOC ] +SfxVoidItem ReadOnlyDoc SID_READONLYDOC +(SfxBoolItem Editable SID_EDITDOC) +[ + AutoUpdate = TRUE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Document; +] + + SfxVoidItem EditMacro SID_BASICIDE_EDITMACRO (SfxMacroInfoItem aMacroInfo SID_BASICIDE_ARG_MACROINFO) [ |