diff options
author | Jim Raykowski <raykowj@gmail.com> | 2020-01-07 16:42:59 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2020-01-09 10:29:09 +0100 |
commit | f31accb05a1c7064a7e586ffec8f283b6ff4787e (patch) | |
tree | 3e69b5153775997615c2c7f5ce29fb1cd53b11f1 /sw/sdi | |
parent | bb362ca226a0089a1b036366e9ffc45ab5c90d8d (diff) |
tdf#129468 Add uno command .uno:SetReminder to set a reminder bookmark
Replaces code in SwNavigationPI to set a reminder with call to uno
command
Change-Id: I2f14d88c99488b1dbfdecb9831f6716c95da7438
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86389
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_textsh.sdi | 6 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index 102699cbad19..b91292dea316 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -140,6 +140,12 @@ interface BaseText StateMethod = GetState ; DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] + FN_SET_REMINDER + [ + ExecMethod = Execute ; + StateMethod = GetState ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] FN_DELETE_BOOKMARK // status(final|play) [ ExecMethod = Execute ; diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 489b6b698336..524018f1b90c 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -2555,6 +2555,24 @@ SfxVoidItem InsertBookmark FN_INSERT_BOOKMARK GroupId = SfxGroupId::Insert; ] +SfxVoidItem SetReminder FN_SET_REMINDER + +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Insert; +] + SfxVoidItem InsertBreak FN_INSERT_BREAK_DLG (SfxInt16Item Kind FN_INSERT_BREAK_DLG,SfxStringItem TemplateName FN_PARAM_1,SfxUInt16Item PageNumber FN_PARAM_2,SfxBoolItem PageNumberFilled FN_PARAM_3) [ |