diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-31 09:29:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-31 14:39:26 +0200 |
commit | 5f335154459e044b6035f099a3e08c98fe258d2b (patch) | |
tree | 70a133fef9b827efc0270e3c32ed864d0e7ee96c /sw/inc/cmdid.h | |
parent | 2ad445acad66f23fe5452746835c539eaaf949b6 (diff) |
sw content controls, date: add insert UI
- handle the date case in SwWrtShell::InsertContentControl()
- expose this as a new .uno:InsertDateContentControl command
- add the new uno command to the default & MS-compatible menus
- hide the old .uno:DatePickerFormField from the menus that has the
problems described in the sw::mark::DateFieldmark documentation.
Change-Id: If3c1050d6a8302be0da4a11067a67805396dec48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135153
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc/cmdid.h')
-rw-r--r-- | sw/inc/cmdid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 8b102cae3bf1..ec35e740b42f 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -224,6 +224,7 @@ class SwUINumRuleItem; #define FN_INSERT_DROPDOWN_CONTENT_CONTROL (FN_INSERT + 24) /* Dropdown content control */ #define FN_CONTENT_CONTROL_PROPERTIES (FN_INSERT + 25) /* Content control properties */ #define FN_INSERT_PICTURE_CONTENT_CONTROL (FN_INSERT + 26) /* Picture content control */ +#define FN_INSERT_DATE_CONTENT_CONTROL (FN_INSERT + 27) /* Date content control */ #define FN_POSTIT (FN_INSERT + 29) /* Insert/edit PostIt */ #define FN_INSERT_TABLE (FN_INSERT + 30) /* Insert Table */ #define FN_INSERT_STRING (FN_INSERT+31) |